##// END OF EJS Templates
Store each post URL in the database instead of computing it every time
Store each post URL in the database instead of computing it every time

File last commit:

r990:28175b48 default
r1112:ae5d52b8 default
Show More
0011_notification.py
25 lines | 656 B | text/x-python | PythonLexer
# -*- 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()),
('post', models.ForeignKey(to='boards.Post')),
],
options={
},
bases=(models.Model,),
),
]