Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 2c370e1a08d3d7bac17d8cfe8c909466d0cf2782 1 parent 7a22a51
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/__init__.py
2  django/db/models/__init__.py
View
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.