##// 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:

r1968:81b9b636 default
r2063:5d000252 default
Show More
0067_threadsource.py
27 lines | 909 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-11-21 11:29
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('boards', '0066_auto_20171025_1148'),
]
operations = [
migrations.CreateModel(
name='ThreadSource',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.TextField()),
('timestamp', models.DateTimeField()),
('source', models.TextField()),
('source_type', models.CharField(choices=[('RSS', 'RSS')], max_length=100)),
('thread', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='boards.Thread')),
],
),
]