Metadata-Version: 2.1
Name: django-samesite-none
Version: 0.0.3
Summary: Django middleware which sets SameSite flag to 'None' for cookies where it is None
Home-page: https://github.com/zvyn/django-samesite-none
Author: Milan Oberkirch
Author-email: milan.oberkirch@geops.de
License: UNKNOWN
Description: Middleware to work around [#30862](https://code.djangoproject.com/ticket/30862)
        
        Chrome started rolling out changes that brake Django sites with intentionally
        empty `SameSite` cookie settings.
        
        This middleware sets the value `"None"` on those cookies explicitly.
        Also sets `Secure` to `True` for all altered cookies.
        
        # Installation
        
        Get it from PyPi:
        
        ```bash
        pip install django-samesite-none
        ```
        
        Put it first in the `MIDDLEWARE` list in your `settings.py`:
        
        ```
        MIDDLEWARE = [
            "django_samesite_none.middleware.SameSiteNoneMiddleware",
            ...
        ]
        ```
        
Keywords: django-samesite-none
Platform: UNKNOWN
Classifier: Framework :: Django :: 2.2
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
