• Python 2.6+
  • Django 1.4+


to install and use django-static assets just download it using pip

$ pip install django-staticassets

or get it from source

$ pip install  git+

Then to add Django staticassets to your project, append the app staticassets to your INSTALLED_APPS:


if staticassets is not the last app in the list, and you have more applications overriding runserver command, you will also need to add staticassets static files handler view in the

from django.conf.urls.static import static

if settings.DEBUG and settings.STATIC_URL:
urlpatterns += static(settings.STATIC_URL, view='staticassets.views.serve')

Table Of Contents

Previous topic

Django Static Assets Documentation

Next topic


This Page