0011_notification.py
25 lines
| 682 B
| text/x-python
|
PythonLexer
neko259
|
r990 | # -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||||
from django.db import models, migrations | ||||
class Migration(migrations.Migration): | ||||
dependencies = [ | ||||
('boards', '0010_auto_20150208_1451'), | ||||
] | ||||
operations = [ | ||||
migrations.CreateModel( | ||||
name='Notification', | ||||
fields=[ | ||||
('id', models.AutoField(serialize=False, verbose_name='ID', auto_created=True, primary_key=True)), | ||||
('name', models.TextField()), | ||||
neko259
|
r1986 | ('post', models.ForeignKey(on_delete=models.CASCADE, to='boards.Post')), | ||
neko259
|
r990 | ], | ||
options={ | ||||
}, | ||||
bases=(models.Model,), | ||||
), | ||||
] | ||||