Leave it empty

FORCE_SCRIPT_NAME =''


On Wed, Feb 11, 2009 at 8:36 PM, Leslie Maclachlan <lesl...@i-layer.co.za>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 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, but it just looks strange to have a url showing
> the absolute path on my apache mail server to teh location of the
> view.py  (/var/opt/django/projects/ilayer/intranet/)
>
> Anyone seen this before - is it normal?
>
>
>  Probably you should try setting 
> `FORCE_SCRIPT_NAME`:http://docs.djangoproject.com/en/dev/ref/settings/#force-script-name.
>
> I had similar issue with `url` tag giving awkward path.
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to