[Answer]-Query over form.helper for Django-crispy-forms

1👍

You need to call it with {% crispy gameserver helper %} if gameserver is the name of your form within the context and helper is the FormHelper instance. If you haven’t created a separate FormHelper instance and you’ve created one attached to the form itself, you can do {% crispy form form.helper_attribute %}

If your form has a FormHelper attached to helper attribute (using helper as the name), then you don’t have to pass a separate helper. Just do {% crispy form %}

Cheers

0👍

Instead of this: {% crispy gameserver gameserver.helper %}

Type this: {% crispy form %}

Leave a comment