feat: Add crispy forms
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user