#3349: If an ImportError occurs within a custom template tag library, a rather
confusing error message is produced
-------------------------------------------------+--------------------------
Reporter: Chris Wagner <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component:
Template system
Version: SVN | Resolution:
Keywords: | Stage:
Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------------+--------------------------
Comment (by Chris Wagner):
Jens - Do you know how to work around this problem? It doesn't actually
prevent you from using template tags; it's just a really confusing error
message. The problem is likely that you are trying to import a non-
existent module from within your template tag library. This was what
caused the error message for me. (I think that I may have even copied the
culprit code from a tutorial somewhere, which didn't help me in tracking
down the cause.)
--
Ticket URL: <http://code.djangoproject.com/ticket/3349#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---