Add coordinates autocomplete widget & data (#32)
Just tweaks based on what Carl had already written in dce53630
and b97d421a
This commit is contained in:
45
apps/map/migrations/0054_auto_20180416_0355.py
Normal file
45
apps/map/migrations/0054_auto_20180416_0355.py
Normal file
@ -0,0 +1,45 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.6 on 2018-04-16 03:55
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.conf import settings
|
||||
import django.contrib.gis.db.models.fields
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('gis', '__first__'),
|
||||
('map', '0053_casestudydraft'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='SpatialRefSys',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'spatial reference system',
|
||||
'proxy': True,
|
||||
'indexes': [],
|
||||
},
|
||||
bases=('gis.postgisspatialrefsys',),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='casestudy',
|
||||
name='coordinate_reference_system',
|
||||
field=models.ForeignKey(blank=True, default=4326, null=True, on_delete=django.db.models.deletion.CASCADE, to='map.SpatialRefSys'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='casestudy',
|
||||
name='location',
|
||||
field=django.contrib.gis.db.models.fields.PointField(srid=4326, verbose_name='Project location'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='casestudydraft',
|
||||
name='author',
|
||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user