##// END OF EJS Templates
Cache some of the attachment viewers logic
Cache some of the attachment viewers logic

File last commit:

r1968:81b9b636 default
r2014:6b7dd99e default
Show More
0067_threadsource.py
27 lines | 909 B | text/x-python | PythonLexer
neko259
Added fetch sources to fetch external information into threads as posts
r1968 # -*- 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')),
],
),
]