##// END OF EJS Templates
Post deletion when the thread is deleted is already handled by django. No need to implement it manually
Post deletion when the thread is deleted is already handled by django. No need to implement it manually

File last commit:

r1136:f6ecb53d default
r1226:e8ff96e4 default
Show More
0017_auto_20150503_1847.py
20 lines | 471 B | text/x-python | PythonLexer
/ boards / migrations / 0017_auto_20150503_1847.py
neko259
Fixed thread max posts to not create new migration each time it changes in settings
r1136 # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import boards.models.thread
class Migration(migrations.Migration):
dependencies = [
('boards', '0016_auto_20150421_1803'),
]
operations = [
migrations.AlterField(
model_name='thread',
name='max_posts',
field=models.IntegerField(default=boards.models.thread.get_thread_max_posts),
),
]