##// END OF EJS Templates
Do not rely on the md5 hash of the file, compare the file contents when searching for duplicate
Do not rely on the md5 hash of the file, compare the file contents when searching for duplicate

File last commit:

r1661:fd00eec9 default
r1824:d33ed39f default
Show More
0050_auto_20161008_1745.py
36 lines | 993 B | text/x-python | PythonLexer
/ boards / migrations / 0050_auto_20161008_1745.py
neko259
Add missing migration
r1661 # -*- 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),
),
]