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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.