Ticket #11020: permalink.patch

File permalink.patch, 401 bytes (added by Holger Just, 16 years ago)

Patch to fix the permalink behavior

  • django/db/models/__init__.py

    a b  
    2727    from django.core.urlresolvers import reverse
    2828    def inner(*args, **kwargs):
    2929        bits = func(*args, **kwargs)
    30         return reverse(bits[0], None, *bits[1:3])
     30        return reverse(bits[0], None, *bits[1:4])
    3131    return inner
Back to Top