Metadata-Version: 2.1
Name: django-cloudflare
Version: 0.0.1
Summary: A middleware for Django applications using Cloudflare as a proxy. Allows you to extract and access CF headers.
Home-page: https://github.com/tomwojcik/django-cloudflare
License: MIT
Keywords: django,cloudflare
Author: Tom Wojcik
Author-email: django-cloudflare-pkg@tomwojcik.com
Requires-Python: >=3.8.0,<4.0.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
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.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet
Requires-Dist: django (>=4.1.5,<5.0.0)
Project-URL: Documentation, https://django-cloudflare.readthedocs.io/
Project-URL: Repository, https://github.com/tomwojcik/django-cloudflare
Description-Content-Type: text/x-rst

.. image:: https://github.com/tomwojcik/django-cloudflare/workflows/Tests/badge.svg
    :target: https://github.com/tomwojcik/django-cloudflare/actions?query=branch%3Amain+workflow%Tests++
    :alt: Build Status

.. image:: https://img.shields.io/pypi/pyversions/django-cloudflare.svg
    :target: https://pypi.org/project/django-cloudflare/
    :alt: Python Versions

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

.. image:: https://readthedocs.org/projects/django-cloudflare/badge/?version=latest
    :target: https://readthedocs.org/projects/django-cloudflare/
    :alt: Docs

.. image:: https://codecov.io/gh/tomwojcik/django-cloudflare/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/tomwojcik/django-cloudflare
    :alt: codecov


=================
django-cloudflare
=================

A reusable Django middleware that allows you to easily extract Cloudflare headers.

Resources:

* **Source**: https://github.com/tomwojcik/django-cloudflare
* **Documentation**: https://django-cloudflare.readthedocs.io/
* **Changelog**: https://django-cloudflare.readthedocs.io/en/latest/changelog.html

------------
Installation
------------

``$ pip install -U django-cloudflare``


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

Python 3.7+

------------
Dependencies
------------

django>=3.2

