{"id":15562463,"url":"https://github.com/zvyn/django-samesite-none","last_synced_at":"2026-03-06T05:18:23.066Z","repository":{"id":57421761,"uuid":"246553317","full_name":"zvyn/django-samesite-none","owner":"zvyn","description":"Django middleware which sets SameSite flag to 'None' for cookies where it is None","archived":false,"fork":false,"pushed_at":"2020-08-25T10:44:12.000Z","size":3,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T23:07:58.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zvyn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-11T11:29:27.000Z","updated_at":"2021-03-30T18:51:21.000Z","dependencies_parsed_at":"2022-08-27T06:12:30.284Z","dependency_job_id":null,"html_url":"https://github.com/zvyn/django-samesite-none","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvyn%2Fdjango-samesite-none","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvyn%2Fdjango-samesite-none/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvyn%2Fdjango-samesite-none/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvyn%2Fdjango-samesite-none/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zvyn","download_url":"https://codeload.github.com/zvyn/django-samesite-none/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528729,"owners_count":21445516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T16:15:05.930Z","updated_at":"2026-03-06T05:18:22.999Z","avatar_url":"https://github.com/zvyn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Middleware to work around [#30862](https://code.djangoproject.com/ticket/30862)\n\nChrome started rolling out changes that brake Django sites with intentionally\nempty `SameSite` cookie settings.\n\nThis middleware sets the value `\"None\"` on those cookies explicitly.\nAlso sets `Secure` to `True` for all altered cookies.\n\n# Installation\n\nGet it from PyPi:\n\n```bash\npip install django-samesite-none\n```\n\nPut it first in the `MIDDLEWARE` list in your `settings.py`:\n\n```\nMIDDLEWARE = [\n    \"django_samesite_none.middleware.SameSiteNoneMiddleware\",\n    ...\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvyn%2Fdjango-samesite-none","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvyn%2Fdjango-samesite-none","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvyn%2Fdjango-samesite-none/lists"}