I'm wondering whether the following should be a Django ticket and would 
like your opinion on it. 

When I forget to set a value for 'template_name' using the TemplateMixin it 
returns a useful exception:
"TemplateResponseMixin requires either a definition of 'template_name' or 
an implementation of 'get_template_names()'"

Though when I forget to set the form_class while using the FormView, it 
returns the following unhelpful exception:
"'NoneType' object is not callable"

The behavior doesn't seem consistent to me and a more helpful message would 
have saved me some trouble. Is it worth creating a ticket for this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dc083c88-03f2-4ddf-b940-cda59d7f348b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to