skip to navigation
skip to content

staticsfiles_ignoredebug 0.1.0

Django Staticsfiles Ignore Debug

Serve static files below a given point in the directory structure or from locations inferred from the staticfiles finders in Django projects.

To use, put a URL pattern such as:

(r'^%s(?P<path>.*)$' % re.escape(settings.STATIC_URL.lstrip('/')), \

in your URLconf.

It uses the django.views.static view to serve the found files.

At difference from django.contrib.staticfiles.urls.staticfiles_urlpatterns (, this function allow serve the static content in non DEBUG mode.

If DEBUG=False and STATICFILES_IGNORE_DEBUG=False a ImproperlyConfigured exception is raised.

DISCLAIMER: Using this method is inefficient and insecure. Do not use this in a production setting. Use this only for development and testing environment with DEBUG=False.


The project staticsfiles_ignoredebug was developed by Mariano Ruiz on Enterprise Objects Consulting.

This sources are available in

License: LGPL-3 (C) 2013

File Type Py Version Uploaded on Size
staticsfiles_ignoredebug-0.1.0.tar.gz (md5) Source 2014-02-13 16KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 15 downloads in the last week
  • 80 downloads in the last month