##// END OF EJS Templates
Compute divided range only once, do not expose it outsided of paginator
Compute divided range only once, do not expose it outsided of paginator

File last commit:

r1052:a66b11af default
r2063:5d000252 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,
),
]