-
-
Save faulander/45658095787d50c29845643ed357b2aa to your computer and use it in GitHub Desktop.
[Django Crispy Forms Setup] #Django #Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% crispy form %} | |
<form action="{% url 'form handler url' %}" class="uniForm" method="post"> | |
{% crispy first_form %} | |
{% crispy second_form %} | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSTALLED_APPS = ( | |
... | |
'crispy_forms', | |
) | |
CRISPY_TEMPLATE_PACK = 'bootstrap' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment