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:
parent
dc798dc1d8
commit
352274999f
1
setup.py
1
setup.py
|
@ -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=[
|
||||
|
|
|
@ -168,6 +168,7 @@ INSTALLED_APPS = (
|
|||
'xstatic.pkg.jquery_ui',
|
||||
'xstatic.pkg.select2',
|
||||
'django.forms',
|
||||
'django_replace_migrations',
|
||||
)
|
||||
|
||||
# authentication
|
||||
|
|
Loading…
Reference in New Issue