You can just pretend you're in production. Run:
python manage.py collectstatic --noinput
So that all your files are copied to STATIC_ROOT
. Then temporarily add the following to urls.py:
urlpatterns += patterns('', (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}), )
You will need to run collectstatic
every time you make changes to some static files, so I suggest editing something like Firebug in real time and then saving the finished product. Also, be sure to remove the static
directory and remove this line from urls.py when done.
source share