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
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
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
3 matches
Mail list logo