summaryrefslogtreecommitdiff
path: root/root/migrations/0001_initial.py
blob: d15b3714064788a731d76a890d04b7077b73e257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Page',
            fields=[
                ('id', models.AutoField(auto_created=True, serialize=False, verbose_name='ID', primary_key=True)),
                ('name', models.CharField(unique=True, max_length=20)),
                ('header_image', models.CharField(max_length=255, default='&black')),
                ('title', models.CharField(max_length=255)),
                ('subtitle', models.CharField(max_length=255)),
                ('body', models.TextField(null=True, blank=True)),
                ('edited', models.DateTimeField()),
            ],
        ),
    ]