welco/welco/kb/migrations/0001_initial.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
837 B
Python
Raw Permalink Normal View History

2015-11-01 22:51:02 +01:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import ckeditor.fields
class Migration(migrations.Migration):
dependencies = []
operations = [
migrations.CreateModel(
name='Page',
fields=[
(
'id',
models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True),
2021-01-11 20:10:12 +01:00
),
2015-11-01 22:51:02 +01:00
('title', models.CharField(max_length=200, verbose_name='Title')),
('slug', models.SlugField(verbose_name='Slug')),
('content', ckeditor.fields.RichTextField(verbose_name='Text')),
],
options={
'ordering': ['title'],
},
bases=(models.Model,),
),
]