#16502: CreateView useless error message when template_name is not specified -------------------------------------+------------------------------------- Reporter: | Owner: Silver_Ghost silverghost3@… | Status: assigned Type: Bug | Component: Generic views Milestone: | Severity: Normal Version: SVN | Keywords: CreateView "generic Resolution: | view" Triage Stage: Accepted | Has patch: 1 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by bhuztez):
* cc: bhuztez (added) Comment: function-based generic view, `django.views.generic.create_update.create_object`, use default template if no template_name is given. When you switch to class-based view, `CreateView` will not work as you has expected, since `django.views.generic.edit.CreateView` has no default template. This must be a bug, please give `CreateView` a default template in 1.3. -- Ticket URL: <https://code.djangoproject.com/ticket/16502#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.