22 lines
463 B
Python
22 lines
463 B
Python
from django.urls import reverse_lazy # noqa
|
|
|
|
# Minimal settings to run a django app using authens.
|
|
|
|
|
|
SECRET_KEY = "dummy"
|
|
|
|
INSTALLED_APPS = [
|
|
"django.contrib.contenttypes",
|
|
"django.contrib.auth",
|
|
"authens",
|
|
"tests",
|
|
]
|
|
|
|
AUTHENTICATION_BACKENDS = [
|
|
"django.contrib.auth.backends.ModelBackend",
|
|
"authens.backends.ENSCASBackend",
|
|
]
|
|
|
|
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3"}}
|
|
|
|
LOGIN_URL = reverse_lazy("authens:login")
|