Setup basic auth

This commit is contained in:
Edgar P. Burkhart 2025-06-13 15:51:32 +02:00
parent 3294ef2a82
commit d7545ab43c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
17 changed files with 315 additions and 4 deletions

View file

@ -31,6 +31,7 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
"base",
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
@ -102,9 +103,9 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/5.2/topics/i18n/
LANGUAGE_CODE = "en-us"
LANGUAGE_CODE = "fr-fr"
TIME_ZONE = "UTC"
TIME_ZONE = "Europe/Paris"
USE_I18N = True
@ -120,3 +121,6 @@ STATIC_URL = "static/"
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
LOGOUT_REDIRECT_URL = "/"
LOGIN_REDIRECT_URL = "/"