First I tried setting the ADMIN_MEDIA_PREFIX to MEDIA_PREFIX, when
that didn't work I tried manual replacing. Yes, I know it has been
depreciated and that the css are stored in
django\django\contrib\admin\static\admin\css, however it did not work
when omitted so I placed that \static\admin\ folder as a subdirectory
of my regular static directory.
ADMIN_MEDIA_PREFIX is now set to: '/static/admin/' in settings.py.
This partially worked, the top of my admin pages now look like this:
<link rel="stylesheet" type="text/css" href="admin/css/base.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/dashboard.css"/>
So dashboard.css is loading fine now, it's just base.css which isn't.
How should I go about getting that base.css link to not 404, or
*actually* changing that ADMIN_MEDIA_PREFIX?
Thanks for all suggestions,
Alec Taylor
Note: I am running the latest official build of Django (1.4) with the
latest dev build of django-staticfiles.
Also of relevance:
> python manage.py help | grep -i "static"
satchmo_copy_static
(yes, I am running a satchmo shop)
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/uT6xUVl_99gJ.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.