29 lines
892 B
Python
29 lines
892 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.12 on 2018-07-13 06:40
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('data', '0033_auto_20180401_1300'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Redirect',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('old_url', models.CharField(max_length=512)),
|
|
('creation_timestamp', models.DateTimeField(auto_now_add=True)),
|
|
('page', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='data.Page')),
|
|
],
|
|
options={
|
|
'ordering': ('creation_timestamp',),
|
|
},
|
|
),
|
|
]
|