adamchainz / django-permissions-policy

Set the draft security HTTP header Permissions-Policy (previously Feature-Policy) on your Django app.
MIT License
98 stars 6 forks source link

Fix ASGI compatibility on Python 3.12 #427

Closed adamchainz closed 9 months ago

adamchainz commented 9 months ago

Fixes #425

Copies the fix from https://github.com/adamchainz/django-htmx/pull/382

adamchainz commented 9 months ago

Closing in favour of #426, which I fixed up to use the same pattern.