Skip to content

Commit

Permalink
add LOGOUT_REDIRECT_URL
Browse files Browse the repository at this point in the history
redirect to site home rather than django admin logout page after logout
  • Loading branch information
clavay authored and trombastic committed Sep 12, 2023
1 parent 2363f97 commit bde8aa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/project_template/project_name/settings.py-tpl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ USE_L10N = True

USE_TZ = True

LOGIN_REDIRECT_URL = '/'
LOGIN_REDIRECT_URL = "/"

LOGOUT_REDIRECT_URL = "/"

ADMINS = [{{ project_admins|safe }}]

Expand Down

0 comments on commit bde8aa6

Please sign in to comment.