##// END OF EJS Templates
If found several images with the same hash, use the equal one as duplicate not the first one with the hash
If found several images with the same hash, use the equal one as duplicate not the first one with the hash

File last commit:

r1589:c2a3fd80 default
r1856:969bd865 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),
),
]