Skip to content

Commit afd5844

Browse files
committed
add login redirect url in settings
1 parent e3f3069 commit afd5844

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/config/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@
129129

130130
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
131131

132+
LOGIN_REDIRECT_URL='index'
133+
132134
#crispy bootstrap5
133135
CRISPY_ALLOWED_TEMPLATE_PACKS = 'bootstrap5'
134136

0 commit comments

Comments
 (0)