Metadata-Version: 2.1
Name: django-static-delivery
Version: 0.0.4
Summary: A middleware to delivery static files in Django.
Home-page: https://github.com/stephrdev/django-static-delivery
License: MIT
Author: Stephan Jaekel
Author-email: steph@rdev.info
Requires-Python: >=3.8,<4
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Provides-Extra: docs
Requires-Dist: Django (>=2.2)
Requires-Dist: Sphinx (>=3.5) ; extra == "docs"
Project-URL: Repository, https://github.com/stephrdev/django-static-delivery
Description-Content-Type: text/x-rst

django-static-delivery
======================

.. image:: https://img.shields.io/pypi/v/django-static-delivery.svg
   :target: https://pypi.org/project/django-static-delivery/
   :alt: Latest Version

.. image:: https://github.com/stephrdev/django-static-delivery/workflows/Test/badge.svg?branch=master
   :target: https://github.com/stephrdev/django-static-delivery/actions?workflow=Test
   :alt: CI Status

.. image:: https://codecov.io/gh/stephrdev/django-static-delivery/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/stephrdev/django-static-delivery
   :alt: Coverage Status

.. image:: https://readthedocs.org/projects/django-static-delivery/badge/?version=latest
   :target: https://django-static-delivery.readthedocs.io/en/stable/?badge=latest
   :alt: Documentation Status


Usage
-----

Please refer to the `Documentation <https://django-static-delivery.readthedocs.io/>`_ to
learn how to use ``django-static-delivery``. Basicly, ``static_delivery`` provides a
middleware to serve static files in - for example - Docker setups. The package uses
a middleware instead of a view to make sure we can bypass cookies.


Requirements
------------

django-static-delivery supports Python 3 only and requires at least Django 1.11.
No other dependencies are required.


Prepare for development
-----------------------

A Python 3 interpreter is required in addition to poetry.

.. code-block:: shell

    $ poetry install


Now you're ready to run the tests:

.. code-block:: shell

    $ make tests

