ojuso-map/apps/map/migrations/0054_auto_20180416_0355.py

46 lines
1.4 KiB
Python
Raw Normal View History

# -*- 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),
),
]