##// 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:

r1661:fd00eec9 default
r1856:969bd865 default
Show More
0050_auto_20161008_1745.py
36 lines | 993 B | text/x-python | PythonLexer
/ boards / migrations / 0050_auto_20161008_1745.py
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-10-08 14:45
from __future__ import unicode_literals
import boards.utils
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('boards', '0049_delete_postimage'),
]
operations = [
migrations.AddField(
model_name='attachment',
name='url',
field=models.TextField(null=True),
),
migrations.AlterField(
model_name='attachment',
name='file',
field=models.FileField(null=True, upload_to=boards.utils.get_upload_filename),
),
migrations.AlterField(
model_name='attachment',
name='hash',
field=models.CharField(max_length=36, null=True),
),
migrations.AlterField(
model_name='attachment',
name='mimetype',
field=models.CharField(max_length=50, null=True),
),
]