30 lines
825 B
Python
30 lines
825 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.1 on 2016-02-01 19:25
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Article',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.CharField(max_length=256)),
|
|
('content', models.TextField(help_text='Markdown formatting supported')),
|
|
('author', models.CharField(max_length=64)),
|
|
('date', models.DateField()),
|
|
],
|
|
options={
|
|
'ordering': ('date',),
|
|
},
|
|
),
|
|
]
|