aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-17 02:41:23 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-17 02:41:23 +0300
commitc0fbb915653a916147570d28171c4d4199a80b8e (patch)
tree3e0bd2fabef47793778c240b85dbf5d549ccf4c6
parentMake is_dev field not editable (diff)
downloadgentoo-packages-c0fbb915653a916147570d28171c4d4199a80b8e.tar.gz
gentoo-packages-c0fbb915653a916147570d28171c4d4199a80b8e.tar.bz2
gentoo-packages-c0fbb915653a916147570d28171c4d4199a80b8e.zip
Fix extra args in some templatetags
-rw-r--r--gpackages/apps/generic/templatetags/active_link.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpackages/apps/generic/templatetags/active_link.py b/gpackages/apps/generic/templatetags/active_link.py
index d735477..506b4eb 100644
--- a/gpackages/apps/generic/templatetags/active_link.py
+++ b/gpackages/apps/generic/templatetags/active_link.py
@@ -15,7 +15,7 @@ def active_str(context, url):
def active_link(context, url_name, text, id = None, *args, **kwargs):
request = context['request']
try:
- url = reverse(url_name, *args, **kwargs)
+ url = reverse(url_name, args = args, kwargs = kwargs)
except NoReverseMatch:
url = '#'