Set custom user model
This commit is contained in:
parent
382cdc74b5
commit
48ba45463f
24 changed files with 379 additions and 513 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue