{% load crispy_forms_tags %} {% if not created %} {{form|crispy}} {% else %}

Object created successfully

{% endif %}