Re: reverse funtion returns fully qualified names

2012-10-03 Thread Jani Tiainen
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 wrote: > Hi, > > since we tried to upgrade our systems to work with 1.4 something very

reverse funtion returns fully qualified names

2012-10-03 Thread Jani Tiainen
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