-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Évite les tags répétés plusieurs fois (#3601)
* augmente la taille des tags et évite qu'ils soient recréés quand ils sont trop grands. * ajoute un test unitaire * Fix l'unicite des tags * Corrige l'unicite des tags (again) * change le processus de création des tags lors du sujet de beta * fix indexerror * pep8 * pep8 * fix indexerror * remove useless test * fix test * pep8
- Loading branch information
Showing
8 changed files
with
72 additions
and
50 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
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,24 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('utils', '0005_commentvote'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='tag', | ||
name='slug', | ||
field=models.SlugField(max_length=30), | ||
), | ||
migrations.AlterField( | ||
model_name='tag', | ||
name='title', | ||
field=models.CharField(max_length=30, verbose_name=b'Titre'), | ||
), | ||
] |
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 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('utils', '0006_auto_20160509_1633'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='tag', | ||
name='slug', | ||
field=models.SlugField(max_length=30, verbose_name=b'Slug'), | ||
), | ||
migrations.AlterField( | ||
model_name='tag', | ||
name='title', | ||
field=models.CharField(unique=True, max_length=30, verbose_name=b'Titre', db_index=True), | ||
), | ||
] |
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