Metadata-Version: 1.1 Name: dj-static Version: 0.0.6 Summary: Serve production static files with Django. Home-page: https://github.com/kennethreitz/dj-static Author: Kenneth Reitz Author-email: me@kennethreitz.com License: BSD Description: dj-static ~~~~~~~~~ This is a simple Django middleware utility that allows you to properly serve static assets from production with a WSGI server like Gunicorn. Django `doesn't recommend `_ the production use of its static file server for a number of reasons. There exists, however, a lovely WSGI application aptly named `Static `_. It is suitable for the production use of static file serving, unlike Django. Usage ----- Configure your static assets in ``settings.py``:: STATIC_ROOT = 'staticfiles' STATIC_URL = '/static/' Then, update your ``wsgi.py`` file to use dj-static:: from django.core.wsgi import get_wsgi_application from dj_static import Cling application = Cling(get_wsgi_application()) Platform: any Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content Classifier: Topic :: Software Development :: Libraries :: Python Modules