mirror of
https://github.com/not-kennethreitz/morepython.org.git
synced 2026-06-05 15:00:18 +00:00
29 lines
959 B
Python
29 lines
959 B
Python
# Generated by Django 2.1.7 on 2019-03-10 17:11
|
|
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
import taggit.managers
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('taggit', '0002_auto_20150616_2121'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Post',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('title', models.TextField()),
|
|
('text', models.TextField()),
|
|
('created_date', models.DateTimeField(default=django.utils.timezone.now)),
|
|
('published_date', models.DateTimeField(blank=True, null=True)),
|
|
('tags', taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')),
|
|
],
|
|
),
|
|
]
|