#12787: TemplateDoesNotExist exception does not report the correct template_name
--------------------------------------+-------------------------------------
Reporter: trigeek38 | Owner: anonymous
Status: assigned | Milestone: 1.2
Component: Template system | Version: SVN
Resolution: | Keywords: TemplateDoesNotExist
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by jkatzer):
* owner: jkatzer => anonymous
* status: new => assigned
* has_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
this patch fixes it, but my testing suite is currently broken otherwise on
this machine. if someone else tests it should work, if not then i will
rerun tomorrow after fixing my testing suite.
the problem is that code after version 1.1 throws array the real exception
and creates it own based on the templatename being used. this patch is
slightly uglier, but its simple and it works.
and its my first real python code!!!
(even though its only one line)
--
Ticket URL: <http://code.djangoproject.com/ticket/12787#comment:4>
Django <http://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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.