35 lines
940 B
Python
35 lines
940 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.6 on 2017-11-02 23:58
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("map", "0027_auto_20171102_2346")]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Shapefile",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("file", models.FileField(upload_to="shapefiles/")),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name="casestudy",
|
|
name="shapefiles",
|
|
field=models.ManyToManyField(to="map.Shapefile"),
|
|
),
|
|
]
|