Skip to content

Commit 6dd3726

Browse files
fixed page not found after login by registered user
1 parent 5fe67c5 commit 6dd3726

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

banking_system/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@
130130
MINIMUM_DEPOSIT_AMOUNT = 10
131131
MINIMUM_WITHDRAWAL_AMOUNT = 10
132132

133+
# Login redirect
134+
LOGIN_REDIRECT_URL = 'home'
135+
133136
# Celery Settings
134137
CELERY_BROKER_URL = 'redis://localhost:6379'
135138
CELERY_RESULT_BACKEND = 'redis://localhost:6379'

0 commit comments

Comments
 (0)