chore: replace deprecated FORM_RENDERER setting

This commit is contained in:
Yohan Boniface 2024-02-16 12:40:37 +01:00
parent 3f3392952c
commit 1a67d01c61

View file

@ -130,7 +130,7 @@ DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
FROM_EMAIL = None FROM_EMAIL = None
# https://docs.djangoproject.com/en/4.2/releases/4.1/#forms # https://docs.djangoproject.com/en/4.2/releases/4.1/#forms
FORM_RENDERER = "django.forms.renderers.DjangoDivFormRenderer" FORM_RENDERER = "django.forms.renderers.DjangoTemplates"
# ============================================================================= # =============================================================================
# Calculation of directories relative to the project module location # Calculation of directories relative to the project module location