You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
880 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2018-10-20 14:03
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Entry',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('headline', models.CharField(max_length=255)),
('content', models.TextField()),
('pub_date', models.DateTimeField()),
],
options={
'get_latest_by': 'pub_date',
'db_table': 'nano_blog_entry',
'verbose_name_plural': 'entries',
'ordering': ('-pub_date',),
},
),
]