#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: 1 UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by Silver_Ghost):
* needs_better_patch: 1 => 0 * easy: 0 => 1 Comment: According to [https://groups.google.com/d/topic/django- developers/jCsXf3eEqb4/discussion this discussion] patch for `select_template` was separated to ticket:16866. Patch with `get_model` was left here since there are multiple ways to define which model should be used (the self.model, self.queryset or self.form_class attributes) and it justifies having a utility function for it. Tests provided. -- Ticket URL: <https://code.djangoproject.com/ticket/16502#comment:11> 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.