stages/password: sort backends in migration

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-24 12:44:45 +02:00
parent 9733caf3b7
commit 2c938ec9dc
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ def replace_inbuilt(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
continue
stage.backends.remove("django.contrib.auth.backends.ModelBackend")
stage.backends.append(BACKEND_INBUILT)
stage.backends.sort()
stage.save()