Permalink
Browse files

Fixed #2502 -- Fixed typo in db.models.permalink function. Thanks, ad…

…urdin@gmail.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 7a22a51 commit 2c370e1a08d3d7bac17d8cfe8c909466d0cf2782 @adrianholovaty adrianholovaty committed Aug 9, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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):

0 comments on commit 2c370e1

Please sign in to comment.