diff --git a/AUTHORS b/AUTHORS index d2b31ff19b5..b23293ea500 100644 --- a/AUTHORS +++ b/AUTHORS @@ -270,6 +270,7 @@ answer newbie questions, and generally made Django that much better: sopel Leo Soto Wiliam Alves de Souza + Bjørn Stabell Georgi Stanojevski Vasiliy Stavenko Thomas Steinacher diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index e41ca717e70..e23295f7326 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -795,7 +795,7 @@ def load(parser, token): for taglib in bits[1:]: # add the library to the parser try: - lib = get_library("django.templatetags.%s" % taglib.split('.')[-1]) + lib = get_library("django.templatetags.%s" % taglib) parser.add_library(lib) except InvalidTemplateLibrary, e: raise TemplateSyntaxError, "'%s' is not a valid tag library: %s" % (taglib, e)