{ "info": { "author": "Jaroslaw Lachowski", "author_email": "jalachowski@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "dj-static-jl\n~~~~~~~~~~~~\n\nThis is a modification of the original dj-static by Kenneth Reitz (https://pypi.python.org/pypi/dj-static)\n\nThis is a simple Django middleware utility that allows you to properly\nserve static assets from production with a WSGI server like Gunicorn.\n\nDjango `doesn't recommend `_\nthe production use of its static file server for a number of reasons.\nThere exists, however, a lovely WSGI application aptly named `Static `_.\n\nIt is suitable for the production use of static file serving, unlike Django.\n\nUsage\n-----\n\nConfigure your static assets in ``settings.py``::\n\n STATIC_ROOT = 'staticfiles'\n STATIC_URL = '/static/'\n\nThen, update your ``wsgi.py`` file to use dj-static::\n\n from django.core.wsgi import get_wsgi_application\n from dj_static import Cling\n\n application = Cling(get_wsgi_application())\n\nor::\n\n from django.core.wsgi import get_wsgi_application\n from dj_static import Cling\n import static\n\n class BaseCling(static.Cling):\n ...\n\n application = Cling(get_wsgi_application(), cling_class=BaseCling)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jlachowski/dj-static", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "dj-static-jl", "package_url": "https://pypi.org/project/dj-static-jl/", "platform": "any", "project_url": "https://pypi.org/project/dj-static-jl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jlachowski/dj-static" }, "release_url": "https://pypi.org/project/dj-static-jl/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Serve production static files with Django.", "version": "0.1.0" }, "last_serial": 1188027, "releases": { "0.0.7": [ { "comment_text": "", "digests": { "md5": "ef01aa4aa503cfb7b5f19461c5271fdf", "sha256": "97058770aa774d5a255f69532ac8a6752ad2b5dd8092d63b719e4d3bc89099c9" }, "downloads": -1, "filename": "dj-static-jl-0.0.7.tar.gz", "has_sig": false, "md5_digest": "ef01aa4aa503cfb7b5f19461c5271fdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3503, "upload_time": "2014-08-12T16:05:24", "url": "https://files.pythonhosted.org/packages/37/32/c7e0ce0f58a35002798f29779783136cb1dca11bb0d68dc920ccca057b83/dj-static-jl-0.0.7.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "1f7cc83aeeae637395ef9737f367c9dc", "sha256": "3647db41e03db6cd9f9f4f8c0e4df10bc42264a01f5345872046a383ff0de971" }, "downloads": -1, "filename": "dj-static-jl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1f7cc83aeeae637395ef9737f367c9dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3508, "upload_time": "2014-08-12T17:06:42", "url": "https://files.pythonhosted.org/packages/f0/dd/57a7e86da477d8453f9019d1a87c027398f1b58168ff4e40777403225c22/dj-static-jl-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1f7cc83aeeae637395ef9737f367c9dc", "sha256": "3647db41e03db6cd9f9f4f8c0e4df10bc42264a01f5345872046a383ff0de971" }, "downloads": -1, "filename": "dj-static-jl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1f7cc83aeeae637395ef9737f367c9dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3508, "upload_time": "2014-08-12T17:06:42", "url": "https://files.pythonhosted.org/packages/f0/dd/57a7e86da477d8453f9019d1a87c027398f1b58168ff4e40777403225c22/dj-static-jl-0.1.0.tar.gz" } ] }