Update example site

This commit is contained in:
Ludovic Stephan 2020-06-13 19:47:39 +02:00
parent 6bf4b54ea5
commit b1e079da74

View file

@ -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")