1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

request.user.is_authenticated() substitued for @login_required decorator

settings.LOGIN_URL = /accounts/login
This commit is contained in:
Jan Krcmar 2015-12-22 15:09:02 +01:00
parent ae4fdcec92
commit dac974ddab
10 changed files with 33 additions and 61 deletions

View file

@ -46,8 +46,11 @@ MIDDLEWARE_CLASSES = (
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.RemoteUserBackend',
#'accounts.backends.MyRemoteUserBackend',
)
LOGIN_URL = '/accounts/login'
ROOT_URLCONF = 'webvirtcloud.urls'
WSGI_APPLICATION = 'webvirtcloud.wsgi.application'