Skip to content

Instantly share code, notes, and snippets.

@maxwellamaral
Forked from maxwellcc/config.html
Created September 6, 2022 12:37
Show Gist options
  • Save maxwellamaral/c7cf16c321e27c2d66f0f61bf0d3bf62 to your computer and use it in GitHub Desktop.
Save maxwellamaral/c7cf16c321e27c2d66f0f61bf0d3bf62 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