##// END OF EJS Templates
Added tag 4.11.0 for changeset 2f9d7bc70eef
Added tag 4.11.0 for changeset 2f9d7bc70eef

File last commit:

r1986:0b41439a default
r2110:208e1fd7 default
Show More
0018_banner.py
23 lines | 651 B | text/x-python | PythonLexer
neko259
Added banner to show the site news. Returned the message middleware because it...
r1148 # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('boards', '0017_auto_20150503_1847'),
]
operations = [
migrations.CreateModel(
name='Banner',
fields=[
('id', models.AutoField(serialize=False, primary_key=True, verbose_name='ID', auto_created=True)),
('title', models.TextField()),
('text', models.TextField()),
neko259
Adapt to django-2.0
r1986 ('post', models.ForeignKey(on_delete=models.CASCADE, to='boards.Post')),
neko259
Added banner to show the site news. Returned the message middleware because it...
r1148 ],
),
]