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
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2018-01-18 22:56
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('weblog', '0002_auto_20180113_1606'),
]
operations = [
migrations.AlterModelOptions(
name='blogpost',
options={'ordering': ['-publish_date', 'title'], 'verbose_name': 'Blog Post', 'verbose_name_plural': 'Blog Posts'},
),
migrations.RemoveField(
model_name='blogpost',
name='category',
),
migrations.AddField(
model_name='blogpost',
name='categories',
field=models.ManyToManyField(blank=True, to='weblog.Category', verbose_name='Categories'),
),
]
|