Ticket #9326: 9326.diff
File 9326.diff, 533 bytes (added by , 15 years ago) |
---|
-
docs/ref/models/instances.txt
406 406 407 407 from django.db.models import permalink 408 408 409 @models.permalink 409 410 def get_absolute_url(self): 410 411 return ('people_view', [str(self.id)]) 411 get_absolute_url = permalink(get_absolute_url)412 412 413 413 More details on named URL patterns are in the :ref:`URL dispatch documentation 414 414 <topics-http-urls>`.