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
26
27
28
29
30
31
32
|
# Generated by Django 2.1.5 on 2019-02-20 22:52
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Prompt',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=200)),
('subtitle', models.CharField(max_length=200)),
('slug', models.SlugField(unique_for_date='pub_date')),
('body_html', models.TextField(blank=True)),
('body_markdown', models.TextField()),
('pub_date', models.DateTimeField(verbose_name='Date published')),
('meta_description', models.CharField(blank=True, max_length=256, null=True)),
('source', models.CharField(max_length=350)),
],
options={
'ordering': ('-pub_date',),
'get_latest_by': 'pub_date',
},
),
]
|