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 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 = '/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. >> >> Everything seems to work fine, except for admin, which has broken css >> links. Admin's css links are using /media/admincss >> (e.g.http://localhost/media/admincss/dashboard.css). Is this dervived from >> ADMIN_MEDIA_PREFIX? I've tried changing this to /myapp/media/admin, >> but it has no effect, and I just get 404 errors. >> >> How do I get admin fully working from a application-wide sub directory? > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---