##// END OF EJS Templates
Show all reply count and today reply count for threads on landing
Show all reply count and today reply count for threads on landing

File last commit:

r1862:b58ef726 default
r2007:db58920c default
Show More
0058_auto_20170224_2310.py
38 lines | 1.2 KiB | text/x-python | PythonLexer
/ boards / migrations / 0058_auto_20170224_2310.py
neko259
Fixed thread creation
r1862 # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-24 21:10
from __future__ import unicode_literals
import boards.models.base
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('boards', '0057_tag_aliases'),
]
operations = [
migrations.CreateModel(
name='TagAlias',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(db_index=True, max_length=100, unique=True)),
('locale', models.CharField(db_index=True, max_length=10)),
],
options={
'ordering': ('name',),
},
bases=(models.Model, boards.models.base.Viewable),
),
migrations.RemoveField(
model_name='tag',
name='aliases',
),
migrations.AddField(
model_name='tagalias',
name='parent',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='aliases', to='boards.Tag'),
),
]