feat: Add crispy forms

This commit is contained in:
2024-04-20 07:48:48 +02:00
parent 6210b47684
commit 6d1cf9084b
3 changed files with 24 additions and 7 deletions

View File

@@ -144,6 +144,8 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'fontawesomefree',
'crispy_forms',
"crispy_bootstrap4",
]
MIDDLEWARE = [
@@ -240,6 +242,9 @@ LANGUAGES = (
('de', _('German')),
)
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"
CRISPY_TEMPLATE_PACK = 'bootstrap4'
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field