Changes between Version 2 and Version 3 of ReplacingGetAbsoluteUrl


Ignore:
Timestamp:
Aug 12, 2008, 2:54:47 PM (16 years ago)
Author:
simon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReplacingGetAbsoluteUrl

    v2 v3  
    4141By grepping the Django source code, I've identified the following places where get_absolute_url is used:
    4242
    43 {noformat}
     43{{{
    4444grep -r get_absolute_url django | grep -v ".svn" | grep -v '.pyc'
    45 {noformat}
     45}}}
    4646
    4747 * '''contrib/admin/options.py''': Uses hasattr(obj, 'get_absolute_url') to populate 'has_absolute_url' and 'show_url' properties which are passed through to templates and used to show links to that object on the actual site.
Back to Top