##// END OF EJS Templates
Show id of the post you reply to in the form title
Show id of the post you reply to in the form title

File last commit:

r1273:2c3f55c9 default
r1289:15cdb526 default
Show More
0023_auto_20150818_1026.py
29 lines | 960 B | text/x-python | PythonLexer
/ boards / migrations / 0023_auto_20150818_1026.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import boards.models.attachment
class Migration(migrations.Migration):
dependencies = [
('boards', '0022_auto_20150812_1819'),
]
operations = [
migrations.CreateModel(
name='Attachment',
fields=[
('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
('file', models.FileField(upload_to=boards.models.attachment.Attachment._update_filename)),
('mimetype', models.CharField(max_length=50)),
('hash', models.CharField(max_length=36)),
],
),
migrations.AddField(
model_name='post',
name='attachments',
field=models.ManyToManyField(blank=True, null=True, related_name='attachment_posts', to='boards.Attachment'),
),
]