Django static files on heroku

Eventually solved this using the below in my urls file – from this question: Heroku – Handling static files in Django app

from <app> import settings
urlpatterns += patterns('',
        (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
    )

Leave a Comment