Replying to myself.

It was oldish version of django-rest-framework that did mangled prefix.
With latest version (0.4.0 in my case) it's fixed.

On Wed, Oct 3, 2012 at 10:29 AM, Jani Tiainen <rede...@gmail.com> wrote:

> Hi,
>
> since we tried to upgrade our systems to work with 1.4 something very
> unexpected started to happen:
>
> reverse('my_view_name')
>
> Started to respond with fully qualified URL including domain name. And
> since our Django servers are behind proxies and load balancers it started
> to create very interesting effect since it now returns URL with domain name
> from local machine.
>
> Django 1.3 does return only absolute URL without domain name and
> everything works as expected.
>
> Though if you use same code (we had to upgrade few settings) with 1.3 it
> seems to still create fully qualified URLs with domain names.
>
> Is there some middleware or setting that affects in a behaviour we now
> experience?
>
> --
> Jani Tiainen
>
> - Well planned is half done and a half done has been sufficient before...
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

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