friendsmap/map/migrations/0002_friendlocation.py

30 lines
1.2 KiB
Python
Raw Normal View History

2019-03-02 12:47:44 +01:00
# Generated by Django 2.1.7 on 2019-03-02 11:13
from django.db import migrations, models
import map.fields
class Migration(migrations.Migration):
dependencies = [
('map', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='FriendLocation',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now=True)),
('latitude', map.fields.CoordinateField(decimal_places=8, help_text='Format : xxx,xxxxxxxx<br>(max 8 décimales, max 3 chiffres avant la virgule, séparateur : virgule)', max_digits=11)),
('longitude', map.fields.CoordinateField(decimal_places=8, help_text='Format : xxx,xxxxxxxx<br>(max 8 décimales, max 3 chiffres avant la virgule, séparateur : virgule)', max_digits=11)),
('start_date', models.DateField(blank=True, null=True, verbose_name='from')),
('end_date', models.DateField(blank=True, null=True, verbose_name='until')),
],
options={
'abstract': False,
},
),
]