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
-~----------~----~----~----~------~----~------~--~---

Reply via email to