diff --git a/stages/management/commands/__init__.py b/stages/management/commands/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/stages/management/commands/test.py b/stages/management/commands/test.py new file mode 100644 index 0000000..e13842f --- /dev/null +++ b/stages/management/commands/test.py @@ -0,0 +1,10 @@ +from django.core.management.commands.test import Command as TestCommand +from django.test.utils import override_settings + + +class Command(TestCommand): + def handle(self, *args, **options): + with override_settings( + PASSWORD_HASHERS=["django.contrib.auth.hashers.MD5PasswordHasher"], + ): + return super().handle(*args, **options)