Just read the "Replacing get_absolute_url proposal":
http://code.djangoproject.com/wiki/ReplacingGetAbsoluteUrl

and personally I think adding two functions get_url_path and get_url
is a lot more confusing. One can never remember which one gets the
Absolute url and which one gets the Relative url.

If it is going to be done I propose adding another function, and thus
have two possible functions on the model:
get_relative_url
get_absolute_url

However I am not sure how that will tie into the Permalink decorator:
http://docs.djangoproject.com/en/dev/ref/models/instances/#the-permalink-decorator

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to