instal crispy forms code example
Example 1: pip install crispy_forms
pip install django-crispy-forms
Example 2: crispy forms
# In Settings
INSTALLED_APPS = [
'crispy_forms',
]
# Very Bottom of Settings
CRISPY_TEMPLATE_PACK = 'bootstrap4'
# Top of HTML page
{% load crispy_forms_tags %}
# Apply styling to form
{{ form | crispy }}