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

r1862:b58ef726 default
r2063:5d000252 default
Show More
0058_auto_20170224_2310.py
38 lines | 1.2 KiB | text/x-python | PythonLexer
/ boards / migrations / 0058_auto_20170224_2310.py
# -*- 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'),
),
]