From 9630c677b0a9df28cae42b4279c4473acf7225aa Mon Sep 17 00:00:00 2001 From: Andrew Hanson <67885598+Andrew-Hanson@users.noreply.github.com> Date: Tue, 26 Mar 2024 02:52:43 +0000 Subject: [PATCH] fixed issue with cripsy forms --- .../django_project/django_project/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Django_Blog/06-User-Registration-Form/django_project/django_project/settings.py b/Django_Blog/06-User-Registration-Form/django_project/django_project/settings.py index 8df8664b7..0d8213840 100644 --- a/Django_Blog/06-User-Registration-Form/django_project/django_project/settings.py +++ b/Django_Blog/06-User-Registration-Form/django_project/django_project/settings.py @@ -34,6 +34,10 @@ 'blog.apps.BlogConfig', 'users.apps.UsersConfig', 'crispy_forms', + # since version 2.0 of Django Crispy Forms, template packs are now provided as separate packages. + # This means that for Bootstrap 4 support, you will need to install a separate package named crispy-bootstrap4​​. + # pip install crispy-bootstrap4 + 'crispy_bootstrap4' 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes',