##// END OF EJS Templates
Messages statistics for day/week/month
Messages statistics for day/week/month

File last commit:

r1589:c2a3fd80 default
r1618:5e3e9d01 default
Show More
0046_auto_20160520_2307.py
38 lines | 967 B | text/x-python | PythonLexer
/ boards / migrations / 0046_auto_20160520_2307.py
neko259
Use image file's dimensions, not storing them in the database
r1589 # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-05-20 20:07
from __future__ import unicode_literals
import boards.thumbs
import boards.utils
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('boards', '0045_post_version'),
]
operations = [
migrations.RemoveField(
model_name='postimage',
name='height',
),
migrations.RemoveField(
model_name='postimage',
name='pre_height',
),
migrations.RemoveField(
model_name='postimage',
name='pre_width',
),
migrations.RemoveField(
model_name='postimage',
name='width',
),
migrations.AlterField(
model_name='postimage',
name='image',
field=boards.thumbs.ImageWithThumbsField(blank=True, upload_to=boards.utils.get_upload_filename),
),
]