##// 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:

r1052:a66b11af default
r1226:e8ff96e4 default
Show More
0012_thread_max_posts.py
20 lines | 431 B | text/x-python | PythonLexer
/ boards / migrations / 0012_thread_max_posts.py
neko259
Save bump limit separately for every thread
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,
),
]