Changes between Version 8 and Version 9 of ReplacingGetAbsoluteUrl
- Timestamp:
- Oct 13, 2008, 1:52:29 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReplacingGetAbsoluteUrl
v8 v9 37 37 Finally, 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. 38 38 39 It b ares 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.39 It 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. 40 40 41 41 == Current uses of get_absolute_url() ==