stages/password: sort backends in migration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
9733caf3b7
commit
2c938ec9dc
|
@ -28,6 +28,7 @@ def replace_inbuilt(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
|
||||||
continue
|
continue
|
||||||
stage.backends.remove("django.contrib.auth.backends.ModelBackend")
|
stage.backends.remove("django.contrib.auth.backends.ModelBackend")
|
||||||
stage.backends.append(BACKEND_INBUILT)
|
stage.backends.append(BACKEND_INBUILT)
|
||||||
|
stage.backends.sort()
|
||||||
stage.save()
|
stage.save()
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue