You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
343 B

from django.conf import settings
from django.test.runner import DiscoverRunner
class CustomRunner(DiscoverRunner):
def __init__(self, *args, **kwargs):
# For speed:
settings.PASSWORD_HASHERS = \
('django.contrib.auth.hashers.MD5PasswordHasher', )
super(CustomRunner, self).__init__(*args, **kwargs)