##// END OF EJS Templates
Use proper settings for max landing threads. Show thread last update time instead of number of posts
Use proper settings for max landing threads. Show thread last update time instead of number of posts

File last commit:

r1368:3a697667 default
r2001:6d66389f default
Show More
0034_auto_20151014_2253.py
26 lines | 731 B | text/x-python | PythonLexer
/ boards / migrations / 0034_auto_20151014_2253.py
neko259
Deduplicated upload_to method for images and file attachments
r1368 # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
import boards.thumbs
import boards.utils
class Migration(migrations.Migration):
dependencies = [
('boards', '0033_auto_20151014_2224'),
]
operations = [
migrations.AlterField(
model_name='attachment',
name='file',
field=models.FileField(upload_to=boards.utils.get_upload_filename),
),
migrations.AlterField(
model_name='postimage',
name='image',
field=boards.thumbs.ImageWithThumbsField(blank=True, width_field='width', height_field='height', upload_to=boards.utils.get_upload_filename),
),
]