0

I've upgrade my Django from 1.3 to 1.4, and using django.contrib.staticfiles. I have to change the ADMIN_MEDIA_PREFIX to only use STATIC_URL, wich is defined as STATIC_URL = '/static/'

When I open the admin interface, css files are linked to /admin/css/base.css, but, if I'm correct, they should point to static/admin/css/base.css

Don't know why my admin interface is omitting the static_url.

Thanks!

tkanzakic
  • 5,499
  • 16
  • 34
  • 41
adrianlzt
  • 1,862
  • 20
  • 11
  • Not sure about this but try commenting out the `ADMIN_MEDIA_PREFIX` defined in settings.py as it has been deprecated in django 1.4[1] [1]: https://docs.djangoproject.com/en/dev/releases/1.4/#django-contrib-admin – naiquevin Jan 14 '13 at 14:14
  • Sorry, I have already deleted `ADMIN_MEDIA_PREFIX` because it has been deprecated. That is what I mean with "have to chage the ... to only use" – adrianlzt Jan 15 '13 at 21:58

0 Answers0