Commits

Andy Mikhailenko committed 9829968

Gave some respect to the elder Pythons.

Comments (0)

Files changed (2)

navigation/__init__.py

 __author__  = 'Andy Mikhailenko'
 __license__ = 'GNU Lesser General Public License (GPL), Version 3'
 __url__     = 'http://bitbucket.org/neithere/django-navigation/'
-__version__ = '0.6.4'
+__version__ = '0.6.5'

navigation/templatetags/navigation_tags.py

     """
     url = reverse(name, args=args, kwargs=kwargs)
     label = find_crumb(context['request'], url)
-    return u'<a href="{url}">{label}</a>'.format(**locals())
+    return u'<a href="%s">%s</a>' % (url, label)