Show More
@@ -0,0 +1,23 b'' | |||||
|
1 | # Generated by Django 2.0 on 2017-12-25 09:49 | |||
|
2 | ||||
|
3 | from django.db import migrations, models | |||
|
4 | ||||
|
5 | ||||
|
6 | class Migration(migrations.Migration): | |||
|
7 | ||||
|
8 | dependencies = [ | |||
|
9 | ('boards', '0069_usersettings'), | |||
|
10 | ] | |||
|
11 | ||||
|
12 | operations = [ | |||
|
13 | migrations.AlterField( | |||
|
14 | model_name='post', | |||
|
15 | name='attachments', | |||
|
16 | field=models.ManyToManyField(blank=True, related_name='attachment_posts', to='boards.Attachment'), | |||
|
17 | ), | |||
|
18 | migrations.AlterField( | |||
|
19 | model_name='post', | |||
|
20 | name='referenced_posts', | |||
|
21 | field=models.ManyToManyField(blank=True, db_index=True, related_name='refposts', to='boards.Post'), | |||
|
22 | ), | |||
|
23 | ] |
@@ -77,7 +77,7 b' class Post(models.Model, Viewable):' | |||||
77 | text = TextField(blank=True, default='') |
|
77 | text = TextField(blank=True, default='') | |
78 | _text_rendered = TextField(blank=True, null=True, editable=False) |
|
78 | _text_rendered = TextField(blank=True, null=True, editable=False) | |
79 |
|
79 | |||
80 |
attachments = models.ManyToManyField(Attachment, |
|
80 | attachments = models.ManyToManyField(Attachment, blank=True, | |
81 | related_name='attachment_posts') |
|
81 | related_name='attachment_posts') | |
82 |
|
82 | |||
83 | poster_ip = models.GenericIPAddressField() |
|
83 | poster_ip = models.GenericIPAddressField() | |
@@ -86,7 +86,6 b' class Post(models.Model, Viewable):' | |||||
86 | last_edit_time = models.DateTimeField() |
|
86 | last_edit_time = models.DateTimeField() | |
87 |
|
87 | |||
88 | referenced_posts = models.ManyToManyField('Post', symmetrical=False, |
|
88 | referenced_posts = models.ManyToManyField('Post', symmetrical=False, | |
89 | null=True, |
|
|||
90 | blank=True, related_name='refposts', |
|
89 | blank=True, related_name='refposts', | |
91 | db_index=True) |
|
90 | db_index=True) | |
92 | refmap = models.TextField(null=True, blank=True) |
|
91 | refmap = models.TextField(null=True, blank=True) |
General Comments 0
You need to be logged in to leave comments.
Login now