Redirect authenticated users to index
This commit is contained in:
parent
2e857818da
commit
3ea359ff8a
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
# Authentication user model
|
||||
AUTH_USER_MODEL = "accounts.User"
|
||||
|
||||
LOGIN_REDIRECT_URL = "/"
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/2.2/topics/i18n/
|
||||
LANGUAGE_CODE = "en-us"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue