##// END OF EJS Templates
Compute divided range only once, do not expose it outsided of paginator
Compute divided range only once, do not expose it outsided of paginator

File last commit:

r1986:0b41439a default
r2063:5d000252 default
Show More
0018_banner.py
23 lines | 651 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', '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()),
('post', models.ForeignKey(on_delete=models.CASCADE, to='boards.Post')),
],
),
]