[EMAIL PROTECTED] schrieb:
> 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)

Yes, but i can't get the request object in the model :( So this is not a 
solution :(


-- 
Mfg.

Jens Diemer


----
A django powered CMS: http://www.pylucid.org


--~--~---------~--~----~------------~-------~--~----~
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