Re: Problem with URL configuration - cannot use absolute URLs in my case

2012-10-09 Thread Stephen Anto
hi, try to user url name instead of using hard coded url link. it may solve your problem. On Mon, Oct 8, 2012 at 8:21 PM, Ramiro Morales wrote: > On Sat, Oct 6, 2012 at 10:25 PM, Rohit Banga > wrote: > > > > So how do I code my url conf / view / template in order to be > independent of > > myw

Re: Problem with URL configuration - cannot use absolute URLs in my case

2012-10-08 Thread Ramiro Morales
On Sat, Oct 6, 2012 at 10:25 PM, Rohit Banga wrote: > > So how do I code my url conf / view / template in order to be independent of > mywebsite name. > Is there anything wrong with the way I am wiring up my application. Take a look at the docs for: URL reversing: https://docs.djangoproject.com

Problem with URL configuration - cannot use absolute URLs in my case

2012-10-06 Thread Rohit Banga
Hi I have a website at example.com/mywebsite. All URL requests directed to this URL are directed to my app. Now I have the following project structure mywebsiteroot/ -- myapp/ -- manage.py -- myapp/ --templates/ --settings.py