Ticket #5243: defaulttags.patch
File defaulttags.patch, 630 bytes (added by , 17 years ago) |
---|
-
django/template/defaulttags.py
792 792 for taglib in bits[1:]: 793 793 # add the library to the parser 794 794 try: 795 lib = get_library("django.templatetags.%s" % taglib .split('.')[-1])795 lib = get_library("django.templatetags.%s" % taglib) 796 796 parser.add_library(lib) 797 797 except InvalidTemplateLibrary, e: 798 798 raise TemplateSyntaxError, "'%s' is not a valid tag library: %s" % (taglib, e)