diff --git a/django/db/models/__init__.py b/django/db/models/__init__.py index 54df38cc7b..eac7758055 100644 --- a/django/db/models/__init__.py +++ b/django/db/models/__init__.py @@ -25,7 +25,7 @@ def permalink(func): def inner(*args, **kwargs): bits = func(*args, **kwargs) viewname = bits[0] - return reverse(bits[0], None, *bits[1:2]) + return reverse(bits[0], None, *bits[1:3]) return inner class LazyDate(object):