dipcode-software/django-ajax-cbv

form_invalid called too soon

Opened this issue · 0 comments

srtab commented

In mixins.py: https://github.com/dipcode-software/django-ajax-cbv/blob/master/ajax_cbv/mixins.py#L82, form_invalid is called too soon, raising an TemplateDoesNotExist when called without a template_name defined, which, in some cases, is not supposed to be defined.