settings.py
INSTALLED_APPS = [ ..., 'crispy_forms', 'crispy_bootstrap5', # Forgetting this was probably your error ] And then at the bottom of the page of settings.py
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5" CRISPY_TEMPLATE_PACK = "bootstrap5"
for me, this solved for that problem