Update example site
This commit is contained in:
parent
6bf4b54ea5
commit
b1e079da74
1 changed files with 2 additions and 1 deletions
|
@ -118,13 +118,14 @@ STATIC_URL = "/static/"
|
|||
# The only modifications to the default settings are here #
|
||||
# ------------------------------------------------------- #
|
||||
|
||||
from django.urls import reverse_lazy # noqa
|
||||
from django.urls import reverse_lazy # noqa
|
||||
|
||||
# This is mandatory
|
||||
INSTALLED_APPS += ["example", "authens"]
|
||||
AUTHENTICATION_BACKENDS = [
|
||||
"django.contrib.auth.backends.ModelBackend",
|
||||
"authens.backends.ENSCASBackend",
|
||||
"authens.backends.OldCASBackend",
|
||||
]
|
||||
LOGIN_URL = reverse_lazy("authens:login")
|
||||
|
||||
|
|
Loading…
Reference in a new issue