summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-01-02 13:03:05 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-01-02 13:03:14 (GMT)
commit59853cda39eed4df5bdd4ed784a59acf0d8b72f0 (patch)
tree7bf3d60ba3606124a80bc3d9fe5aa380f89080ee
parent986db90e3550291b49c8e1933659fbdda82fbacf (diff)
downloadpasserelle-imio-extra-fees-59853cda39eed4df5bdd4ed784a59acf0d8b72f0.zip
passerelle-imio-extra-fees-59853cda39eed4df5bdd4ed784a59acf0d8b72f0.tar.gz
passerelle-imio-extra-fees-59853cda39eed4df5bdd4ed784a59acf0d8b72f0.tar.bz2
misc: disable db_index in slug fields to work around migration bug (#20937)
-rw-r--r--passerelle_imio_extra_fees/migrations/0001_initial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/passerelle_imio_extra_fees/migrations/0001_initial.py b/passerelle_imio_extra_fees/migrations/0001_initial.py
index bbb2a37..09e1ea9 100644
--- a/passerelle_imio_extra_fees/migrations/0001_initial.py
+++ b/passerelle_imio_extra_fees/migrations/0001_initial.py
@@ -16,7 +16,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('title', models.CharField(max_length=50)),
- ('slug', models.SlugField()),
+ ('slug', models.SlugField(db_index=False)),
('description', models.TextField()),
('log_level', models.CharField(default=b'INFO', max_length=10, verbose_name='Log Level', choices=[(b'NOTSET', b'NOTSET'), (b'DEBUG', b'DEBUG'), (b'INFO', b'INFO'), (b'WARNING', b'WARNING'), (b'ERROR', b'ERROR'), (b'CRITICAL', b'CRITICAL'), (b'FATAL', b'FATAL')])),
('users', models.ManyToManyField(to='base.ApiUser', blank=True)),