django.core.urlresolvers.resolve?

kelvan.mailingl...@gmail.com schrieb:
> 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 <sh...@milochik.com>
>
>     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
>     
> <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 django-users@googlegroups.com
>     <mailto:django-users@googlegroups.com>.
>     To unsubscribe from this group, send email to
>     django-users+unsubscr...@googlegroups.com
>     <mailto:django-users%2bunsubscr...@googlegroups.com>.
>     For more options, visit this group at
>     http://groups.google.com/group/django-users?hl=en
>     <http://groups.google.com/group/django-users?hl=en>.
>
>
>

--

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


Reply via email to