Add a @root_url decorator for use with get_absolute_url implementations.
Review Request #1816 — Created Oct. 11, 2010 and submitted
Add a @root_url decorator for use with get_absolute_url implementations. Since we have to hack around @permalink when using captured parameters with reverse lookups, we need a nice way of adding the SITE_ROOT to any returned URLs.
Set up a test site with a model that used @root_url on the get_absolute_url method and checked results in the django shell.