##// END OF EJS Templates
Even more refactoring
Even more refactoring

File last commit:

r1986:0b41439a default
r2005:00eae4e7 default
Show More
0011_notification.py
25 lines | 682 B | text/x-python | PythonLexer
neko259
User notifications (BB-59)
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
Adapt to django-2.0
r1986 ('post', models.ForeignKey(on_delete=models.CASCADE, to='boards.Post')),
neko259
User notifications (BB-59)
r990 ],
options={
},
bases=(models.Model,),
),
]