Author: adrian
Date: 2006-08-09 09:40:29 -0500 (Wed, 09 Aug 2006)
New Revision: 3544

Modified:
   django/trunk/django/db/models/__init__.py
Log:
Fixed #2502 -- Fixed typo in db.models.permalink function. Thanks, [EMAIL 
PROTECTED]

Modified: django/trunk/django/db/models/__init__.py
===================================================================
--- django/trunk/django/db/models/__init__.py   2006-08-09 11:22:14 UTC (rev 
3543)
+++ django/trunk/django/db/models/__init__.py   2006-08-09 14:40:29 UTC (rev 
3544)
@@ -25,7 +25,7 @@
     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):


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to