Re: HttpResponseRedirect and relative URLs

2005-12-13 Thread Afternoon
I have a similar problem, app dev is at http://localhost/myapp/, deployment is at http://mywebsite.com/. I have added an URLBASE to settings.py and that's imported and used throughout my app. It would be nice for this to be created automatically by Django and made available through the A

HttpResponseRedirect and relative URLs

2005-12-13 Thread Amit Upadhyay
Hi,I am developing an application and am soon going to deploy on another server but the URLs won't be exactly the same. There are many places I have to construct URLs, for linking to other pages in my application as well as for redirecting, and it is not clear to me how to do it in a portable fashi