From 6587308ddaed2c6c46a792ea4bd0393385f9d3fb Mon Sep 17 00:00:00 2001 From: retspen Date: Thu, 31 May 2018 11:02:05 +0300 Subject: [PATCH] Fixed default auth model --- webvirtcloud/settings.py.template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index e1f3c20..9e5c821 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -10,8 +10,6 @@ SECRET_KEY = '' DEBUG = True -TEMPLATE_DEBUG = DEBUG - ALLOWED_HOSTS = ['*'] INSTALLED_APPS = ( @@ -45,7 +43,7 @@ MIDDLEWARE_CLASSES = ( ) AUTHENTICATION_BACKENDS = ( - 'django.contrib.auth.backends.RemoteUserBackend', + 'django.contrib.auth.backends.ModelBackend', #'accounts.backends.MyRemoteUserBackend', )