request.META['HTTP_HOST'] just return the webadress from the server, I need the 
name I gave an url un urls.py.
Like reverse just the other way

florian

2009/12/25 Shawn Milochik <[email protected]>
Try this:

request.META['HTTP_HOST']

If not, check the docs for the request object:

http://docs.djangoproject.com/en/dev/ref/request-response/#httprequest-objects

Shawn

--

You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected].
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.



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to