12345678910111213141516171819202122232425262728293031 |
- # -*- coding: utf-8 -*-
- # Generated by Django 1.10.5 on 2017-02-09 17:06
- from __future__ import unicode_literals
- from django.db import migrations, models
- import django.db.models.deletion
- import modelcluster.fields
- class Migration(migrations.Migration):
- dependencies = [
- ('locations', '0002_auto_20170209_1651'),
- ('base', '0003_auto_20170209_1651'),
- ]
- operations = [
- migrations.CreateModel(
- name='AboutLocationRelationship',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('sort_order', models.IntegerField(blank=True, editable=False, null=True)),
- ('locations', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='about_location_relationship', to='locations.LocationPage')),
- ('page', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='location_about_relationship', to='base.AboutPage')),
- ],
- options={
- 'ordering': ['sort_order'],
- 'abstract': False,
- },
- ),
- ]
|