Code

Changes between Version 8 and Version 9 of ReplacingGetAbsoluteUrl


Ignore:
Timestamp:
10/13/08 11:52:29 (6 years ago)
Author:
AdamG
Comment:

Correct a homonym ("bares repeating" -> "bears repeating").

Legend:

Unmodified
Added
Removed
Modified
  • ReplacingGetAbsoluteUrl

    v8 v9  
    3737Finally, it's important that places that use get_absolute_url (such as the admin, sitemaps, syndication etc) always provide an over-ridable alternative. Syndication feeds may wish to include extra hit-tracking material on URLs, admin sites may wish to link to staging or production depending on other criteria etc. At the moment some but not all of these tools provide over-riding mechanisms, but without any consistency as to what they are called or how they work. 
    3838 
    39 It bares repeating that the problem of turning a path returned by get_absolute_url in to a full URL is a very real one: Django actually solves it in a number of places, each one taking a slightly different approach, none of which are really ideal. The fact that it's being solved multiple times and in multiple ways suggests a strong need for a single, reliable solution. 
     39It bears repeating that the problem of turning a path returned by get_absolute_url in to a full URL is a very real one: Django actually solves it in a number of places, each one taking a slightly different approach, none of which are really ideal. The fact that it's being solved multiple times and in multiple ways suggests a strong need for a single, reliable solution. 
    4040 
    4141== Current uses of get_absolute_url() ==