##// END OF EJS Templates
Store images as regular attachments instead of separate model
Store images as regular attachments instead of separate model

File last commit:

r1589:c2a3fd80 default
r1590:0eb7ac3c 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),
),
]