From a4a05297524babf22d71e9aaf5bd422fc84f1311 Mon Sep 17 00:00:00 2001 From: sumukhchitloor Date: Fri, 24 Mar 2023 23:37:36 +0530 Subject: [PATCH] fixing bootstrap4 error --- pygoat/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pygoat/settings.py b/pygoat/settings.py index bfdfc63d9..719339079 100644 --- a/pygoat/settings.py +++ b/pygoat/settings.py @@ -43,7 +43,7 @@ 'django.contrib.sites', 'introduction.apps.IntroductionConfig', 'crispy_forms', - + 'crispy_bootstrap4', 'allauth', 'allauth.account', 'allauth.socialaccount', @@ -133,6 +133,8 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') +CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4" + CRISPY_TEMPLATE_PACK = 'bootstrap4' LOGIN_REDIRECT_URL='/'