Commit c8db75773decaf2ea1f9cb1a689cf69cc8ae799f
1 parent
f1dcdf1c
Exists in
master
and in
2 other branches
fixed core app error when logging out and solved redirect url as well
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
amadeus/settings.py
... | ... | @@ -232,8 +232,8 @@ MEDIA_URL = '/uploads/' |
232 | 232 | |
233 | 233 | |
234 | 234 | # Users |
235 | -LOGIN_REDIRECT_URL = 'app:index' | |
236 | -LOGIN_URL = 'core:home' | |
235 | +LOGIN_REDIRECT_URL = 'subjects:home' | |
236 | +LOGIN_URL = 'users:login' | |
237 | 237 | AUTH_USER_MODEL = 'users.User' |
238 | 238 | |
239 | 239 | AUTHENTICATION_BACKENDS = [ | ... | ... |