Use TEST authentication backends

This commit is contained in:
2012-07-10 19:42:56 +01:00
parent 617703d84c
commit 0e112f08cf

View File

@@ -118,6 +118,12 @@ INSTALLED_APPS = (
'core', 'core',
) )
AUTHENTICATION_BACKENDS = (
'django-testauth.auth.TESTAuthBackend',
'django.contrib.auth.backends.ModelBackend',
)
# A sample logging configuration. The only tangible logging # A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to # performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False. # the site admins on every HTTP 500 error when DEBUG=False.