mirror of https://github.com/django/django.git
Fixed #2502 -- Fixed typo in db.models.permalink function. Thanks, adurdin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7a22a5194c
commit
2c370e1a08
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue