-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #220 Fix tag slug autocreation for long names * rf#220 Increase tag name max length * #220 Refactor slug uniqueness processing methods * #220 Change Tag.slug uniqueness
- Loading branch information
Showing
4 changed files
with
118 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10 on 2018-12-11 05:59 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tests', '0002_add_tags'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='mockcategory', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=1000, verbose_name='name'), | ||
), | ||
migrations.AlterField( | ||
model_name='mockcategorywithdefaultpage', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=1000, verbose_name='name'), | ||
), | ||
migrations.AlterField( | ||
model_name='mockecommercecategory', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=1000, verbose_name='name'), | ||
), | ||
migrations.AlterField( | ||
model_name='mocktag', | ||
name='name', | ||
field=models.CharField(db_index=True, max_length=1000, verbose_name='name'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.10 on 2018-12-13 01:56 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tests', '0003_buff_tag_name'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='mocktag', | ||
name='slug', | ||
field=models.SlugField(), | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='mocktag', | ||
unique_together=set([('slug', 'group'), ('name', 'group')]), | ||
), | ||
] |