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:
parent
ae4fdcec92
commit
dac974ddab
10 changed files with 33 additions and 61 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue