Skip to content

Instantly share code, notes, and snippets.

@maxwellcc
Created April 2, 2021 23:33
Show Gist options
  • Save maxwellcc/5225fa6919ef6b25b76ec964acb36549 to your computer and use it in GitHub Desktop.
Save maxwellcc/5225fa6919ef6b25b76ec964acb36549 to your computer and use it in GitHub Desktop.
Requerido para evitar erros de validação no crispy quando usar formulários do Django
{% block js %}
<script>
{# Requerido para evitar erros de validação no crispy quando usar formulários do Django #}
$("#id-configForm").attr('novalidate', 'novalidate');
</script>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment