misc: install django-replace-migrations to squash migrations (#40685)

It can rewrite/squash existing migrations using :

  tox -e manage -- makemigrations --name replace --replace-all `find -iname migrations -type d | sed 's#.*/\([^/]\+\)/migrations#\1#'`
This commit is contained in:
Benjamin Dauvergne 2023-12-14 22:07:28 +01:00
parent 166823087a
commit a69db02eec
2 changed files with 2 additions and 0 deletions

View File

@ -191,6 +191,7 @@ setup(
'zxcvbn',
'phonenumbers',
'publik_django_templatetags@git+https://git.entrouvert.org/publik-django-templatetags.git',
'django-replace-migrations',
],
zip_safe=False,
classifiers=[

View File

@ -169,6 +169,7 @@ INSTALLED_APPS = (
'xstatic.pkg.jquery_ui',
'xstatic.pkg.select2',
'django.forms',
'django_replace_migrations',
)
# authentication