53 lines
1.6 KiB
Python
53 lines
1.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.6 on 2018-04-16 03:55
|
|
from __future__ import unicode_literals
|
|
|
|
import django.contrib.gis.db.models.fields
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
|
|
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
|
|
),
|
|
),
|
|
]
|