##// END OF EJS Templates
Do not try to add an attachment ref for external attachment if there is an internal and external attachment in the same post
Do not try to add an attachment ref for external attachment if there is an internal and external attachment in the same post

File last commit:

r1589:c2a3fd80 default
r1839:4c8bff54 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),
),
]