hi folks,
I having trouble serving Django's static admin files on webfaction.
Here's how I'm currently set up:
I've created a 'Symbolic link to static-only app', and provided the link to Django admin files in 'extra info':
/home/myusername/webapps/mydjangoapp/lib/python2.5/django/contrib/admin/media
(cd'ing into that directory works fine)I've added this app to my django website, and specified
/media
as the URL path.In my django settings,
ADMIN_MEDIA_PREFIX = '/media/'
(my static files are prefixed with /static/, so there's no conflict here)In the source code of an admin page, I can see that admin media is correctly linked, e.g.
<link rel="stylesheet" type="text/css" href="/media/css/base.css" />
However, following the link I get a 404 page (from nginx).
I've played around with this forever now, so any ideas what might be wrong here, or any recommendations on how to troubleshoot this would be really appreciated!
Thanks in advance,
Martin