0012_thread_max_posts.py
20 lines
| 431 B
| text/x-python
|
PythonLexer
neko259
|
r1052 | # -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||||
from django.db import models, migrations | ||||
class Migration(migrations.Migration): | ||||
dependencies = [ | ||||
('boards', '0011_notification'), | ||||
] | ||||
operations = [ | ||||
migrations.AddField( | ||||
model_name='thread', | ||||
name='max_posts', | ||||
field=models.IntegerField(default=10), | ||||
preserve_default=True, | ||||
), | ||||
] | ||||