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
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def permalink(func):
def inner(*args, **kwargs): def inner(*args, **kwargs):
bits = func(*args, **kwargs) bits = func(*args, **kwargs)
viewname = bits[0] viewname = bits[0]
return reverse(bits[0], None, *bits[1:2]) return reverse(bits[0], None, *bits[1:3])
return inner return inner
class LazyDate(object): class LazyDate(object):