Re: Using Admin From a Sub-Directory

2008-11-16 Thread Chris Spencer
Ah, thanks. Yeah, I included my baseurl in the admin prefix, and added /myapp/media/admin to my modwsgi config and now admin looks perfect. On Sun, Nov 16, 2008 at 12:18 PM, Jeff FW <[EMAIL PROTECTED]> wrote: > > You need a trailing slash after /myapp/media/admin. The final URL > will then come

Re: Using Admin From a Sub-Directory

2008-11-16 Thread Jeff FW
You need a trailing slash after /myapp/media/admin. The final URL will then come out to: http://localhost/media/admin/css/dashboard.css -Jeff On Nov 16, 11:37 am, Chris <[EMAIL PROTECTED]> wrote: > I'm trying to setup my app so it's accessible from a /myapp sub- > directory. I defined BASEURL

Using Admin From a Sub-Directory

2008-11-16 Thread Chris
I'm trying to setup my app so it's accessible from a /myapp sub- directory. I defined BASEURL = '/myapp' in settings.py, and created a context preprocessor so this variable is available to all templates. I then insert this variable at the beginning of all paths for js/css includes, links, etc.