Fixed #6587 -- Removed nasty __path__ hacking in templatetag loading. Thanks to Øyvind Satvik and Andrew Badr for their work on this patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-01-26 01:38:50 +00:00
parent 9cd1d6ed87
commit 12d3799dd2
5 changed files with 73 additions and 28 deletions

View file

@ -59,7 +59,7 @@ def do_echo(parser, token):
register.tag("echo", do_echo)
template.libraries['django.templatetags.testtags'] = register
template.libraries['testtags'] = register
#####################################
# Helper objects for template tests #