1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00

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:
Adrian Holovaty 2006-08-09 14:40:29 +00:00
parent 7a22a5194c
commit 2c370e1a08

View File

@ -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):