I\'ve been messing around with the new collectstatic
command and have got it working for my normal pages. That is to say, I am able to load my css at this locat
In Django 1.4 ADMIN_MEDIA_PREFIX
is deprecated. Here are the steps I followed to catch up with these somewhat recent Django changes:
in settings.py
, add django.contrib.staticfiles
to INSTALLED_APPS
in settings.py
define STATIC_URL
— the staticfiles app won't run without it. While using runserver
they'll get handled magically, but when you deploy, this needs to be a location where those resources can be fetched by a browser.
I think that's all there was to it.