#8809: Better error message when can't import url callback
------------------------------------------+---------------------------------
Reporter: TP | Owner: v1v3kn
Status: assigned | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords: error message
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 1
Patch needs improvement: 1 |
------------------------------------------+---------------------------------
Comment (by bpeschier):
That frame-object magic must happen at the moment of loading the patterns,
since that information is lost when the url-files are read. The {{{
patterns }}} function will have to introspect which module is actually
calling it and attach that information to the {{{ RexegURLPattern}}}
before handing it off.
It sounds like a lot of ugly meta-work for a problem where just adding the
original regex (which is available in the context) will help considerably
without having to pinpoint it exactly.
--
Ticket URL: <http://code.djangoproject.com/ticket/8809#comment:7>
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.