##// END OF EJS Templates
Use mimetype instead of extensions for file type wherever it is used
Use mimetype instead of extensions for file type wherever it is used

File last commit:

r1589:c2a3fd80 default
r1866:fccf814a default
Show More
0046_auto_20160520_2307.py
38 lines | 967 B | text/x-python | PythonLexer
/ boards / migrations / 0046_auto_20160520_2307.py
# -*- 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),
),
]