Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate nonce argument into register_notify_callbacks #306

Merged
merged 4 commits into from
May 10, 2023

Conversation

andrew-m-h
Copy link

Fixes #304

Hi Owners,

I simply added an optional argument 'nonce' to the register_notify_callbacks template which allows a CSP nonce value to be attached to the script by the template renderer.

@coveralls
Copy link

coveralls commented Jan 15, 2021

Coverage Status

Coverage increased (+0.01%) to 89.328% when pulling 04fc0b3 on andrew-m-h:master into e8d2a25 on django-notifications:master.

@AlvaroLQueiroz AlvaroLQueiroz merged commit 2a7353e into django-notifications:master May 10, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow CSP nonce to be automatically included in {% register_notify callbacks %} template
3 participants