On Wed, Oct 31, 2007 at 09:06:58AM +0100, Jens Diemer wrote:
> 
> 
> With get_absolute_url() [1] we can build a URL of a model entry. The Problem 
> is, 
> this is not really a _complete_ URL. The protocol and domain is absent.
> 
> I implemented this:
> ...

The URL is absolute, since it starts with a slash. Maybe this helps you:

Look at request.build_absolute_uri() (http/__init__.py)

 Thomas

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


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

Reply via email to