Ticket #9965: 9965-r9701.diff
File 9965-r9701.diff, 596 bytes (added by , 16 years ago) |
---|
-
django/db/models/__init__.py
24 24 (viewname, viewargs) 25 25 (viewname, viewargs, viewkwargs) 26 26 """ 27 from django.core .urlresolvers import reverse27 from django.core import urlresolvers 28 28 def inner(*args, **kwargs): 29 29 bits = func(*args, **kwargs) 30 return reverse(bits[0], None, *bits[1:3])30 return urlresolvers.reverse(bits[0], None, *bits[1:3]) 31 31 return inner