bootstrap4 is now a standalone package from crispy-forms

This commit is contained in:
bleizi 2024-02-11 22:24:37 +01:00
parent 399a32bece
commit fb3337966e
No known key found for this signature in database
GPG Key ID: D46D7E3364433208
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ INSTALLED_APPS = [
# External apps # External apps
'bootstrap_datepicker_plus', 'bootstrap_datepicker_plus',
'colorfield', 'colorfield',
'crispy_bootstrap4',
'crispy_forms', 'crispy_forms',
# 'django_htcpcp_tea', # 'django_htcpcp_tea',
'django_tables2', 'django_tables2',
@ -279,6 +280,7 @@ LOGIN_REDIRECT_URL = '/'
SESSION_COOKIE_AGE = 60 * 60 * 3 SESSION_COOKIE_AGE = 60 * 60 * 3
# Use Crispy Bootstrap4 theme # Use Crispy Bootstrap4 theme
CRISPY_ALLOWED_TEMPLATE_PACKS = 'bootstrap4'
CRISPY_TEMPLATE_PACK = 'bootstrap4' CRISPY_TEMPLATE_PACK = 'bootstrap4'
# Use Django Table2 Bootstrap4 theme # Use Django Table2 Bootstrap4 theme

View File

@ -1,4 +1,5 @@
beautifulsoup4~=4.12.3 beautifulsoup4~=4.12.3
crispy-bootstrap4~=2023.1
Django~=4.2.9 Django~=4.2.9
django-bootstrap-datepicker-plus~=5.0.5 django-bootstrap-datepicker-plus~=5.0.5
#django-cas-server~=2.0.0 #django-cas-server~=2.0.0