Browse Source

User MD5 password hasher in test runner

Rafał Pitoń 10 years ago
parent
commit
1764c725ab
1 changed files with 7 additions and 0 deletions
  1. 7 0
      runtests.py

+ 7 - 0
runtests.py

@@ -45,6 +45,13 @@ CACHES = {
 }
 """
 
+        settings_file += """
+
+PASSWORD_HASHERS = (
+    'django.contrib.auth.hashers.MD5PasswordHasher',
+)
+"""
+
         if os.environ.get('TRAVIS'):
             settings_file += """