Partial solution: I added the following settings variable:
PythonOption django.root "/directory"
The /directory part is now successfully added to all front-end pages.
However saving models within the admin is broken. When I click save,
the URL it tries to go to (which would be the list view
Hi Alex,
I did exactly as you suggested with no luck. Any other suggestions?
Kevin
On May 25, 12:27 pm, Alex Koshelev wrote:
> Hi, Kevin.
>
> You can try to set FORCE_SCRIPT_NAME = '/directory' [1] settings
> variable. Or setup your web server to provide valid SCRIPT_NAME
Hi, Kevin.
You can try to set FORCE_SCRIPT_NAME = '/directory' [1] settings
variable. Or setup your web server to provide valid SCRIPT_NAME
environment variable.
[1]: http://docs.djangoproject.com/en/dev/ref/settings/#force-script-name
---
Alex Koshelev
On Mon, May 25, 2009 at 10:52 PM,
My web host set up a django instance for me that can be accessed at
http://www.mysite.com/directory/. They've set up an Apache rule (or
something) that strips out the /directory/ before passing it on to
django, so as a result that url gets resolved by my url pattern "^$".
This is nice, the only
4 matches
Mail list logo