Re: Strange url tag behaviour

2009-02-11 Thread Malcolm Tredinnick
On Wed, 2009-02-11 at 19:29 +0300, Dmitry Dzhus wrote: > Leslie Maclachlan wrote: > > > I would expect the url to show as: http://intranet/MV_Edit_Employee/1/ > > > > But, it shows up as: > > > > http://intranet/var/opt/django/projects/ilayer/MV_Edit_Employee/1/ > > > > Everything still workds, b

Re: Strange url tag behaviour

2009-02-11 Thread Alex Koshelev
Leave it empty FORCE_SCRIPT_NAME ='' On Wed, Feb 11, 2009 at 8:36 PM, Leslie Maclachlan wrote: > Thanks Dmitry, > > I entered it as: FORCE_SCRIPT_NAME = '/var/opt/django/projects/ilayer' this > has not resolved it - did I put it in the correct format? > > Regards, > Leslie > > Dmitry Dzhus wro

Re: Strange url tag behaviour

2009-02-11 Thread Leslie Maclachlan
Thanks Dmitry, I entered it as: FORCE_SCRIPT_NAME = '/var/opt/django/projects/ilayer' this has not resolved it - did I put it in the correct format? Regards, Leslie Dmitry Dzhus wrote: > Leslie Maclachlan wrote: > > >> I would expect the url to show as: http://intranet/MV_Edit_Employee/1/ >>

Re: Strange url tag behaviour

2009-02-11 Thread Dmitry Dzhus
Leslie Maclachlan wrote: > I would expect the url to show as: http://intranet/MV_Edit_Employee/1/ > > But, it shows up as: > > http://intranet/var/opt/django/projects/ilayer/MV_Edit_Employee/1/ > > Everything still workds, but it just looks strange to have a url showing > the absolute path on my

Strange url tag behaviour

2009-02-11 Thread Leslie Maclachlan
Hi, I have a url tag as follows in my template: {{username.name}} I would expect the url to show as: http://intranet/MV_Edit_Employee/1/ But, it shows up as: http://intranet/var/opt/django/projects/ilayer/MV_Edit_Employee/1/ Everything still workds, but it just looks strange to have a url