##// END OF EJS Templates
Use mimetype instead of extensions for file type wherever it is used
Use mimetype instead of extensions for file type wherever it is used

File last commit:

r1500:9178427e default
r1866:fccf814a default
Show More
0042_auto_20160422_1053.py
28 lines | 705 B | text/x-python | PythonLexer
/ boards / migrations / 0042_auto_20160422_1053.py
neko259
Added image aliases to upload the same images (like "fake" or "gtfo")
r1500 # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-22 07:53
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('boards', '0041_auto_20160124_2341'),
]
operations = [
migrations.RemoveField(
model_name='attachment',
name='original_filename',
),
migrations.RemoveField(
model_name='postimage',
name='original_filename',
),
migrations.AddField(
model_name='postimage',
name='alias',
field=models.TextField(blank=True, null=True, unique=True),
),
]