Skip to content


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…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2c370e1a08d3d7bac17d8cfe8c909466d0cf2782 1 parent 7a22a51
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/
2  django/db/models/
@@ -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.