Answers for "crispy-forms django"

11

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 }}
Posted by: Guest on September-07-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language