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

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