Set custom user model

This commit is contained in:
Maximilian Friedersdorff 2024-06-28 17:51:36 +01:00
parent 382cdc74b5
commit 48ba45463f
24 changed files with 379 additions and 513 deletions

View file

@ -43,6 +43,7 @@ INSTALLED_APPS = [
"reinheit.apps.brew",
"reinheit.apps.styles",
"reinheit.apps.ingredients",
"reinheit.apps.user",
]
MIDDLEWARE = [
@ -136,3 +137,5 @@ AUTHENTICATION_BACKENDS = [
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
AUTH_USER_MODEL = "user.User"