Ticket #3291: ticket_3291__revision_6467.diff
File ticket_3291__revision_6467.diff, 635 bytes (added by , 17 years ago) |
---|
-
django/db/models/base.py
469 469 # HELPER FUNCTIONS (CURRIED MODEL FUNCTIONS) # 470 470 ############################################## 471 471 472 def get_absolute_url(opts, func, self ):473 return settings.ABSOLUTE_URL_OVERRIDES.get('%s.%s' % (opts.app_label, opts.module_name), func)(self )472 def get_absolute_url(opts, func, self, *args, **kwargs): 473 return settings.ABSOLUTE_URL_OVERRIDES.get('%s.%s' % (opts.app_label, opts.module_name), func)(self, *args, **kwargs)