Add decorator and mixin for requiring consent decisions
Review Request #9948 — Created May 15, 2018 and submitted — Latest diff uploaded
We now provide a view decorator (
@check_pending_consent
) and a view
mixin (CheckPendingConsentMixin
) for requiring all consent decisions
to be made. If said decisions are not all made, the user will be
redirected to the URL specified in the
DJBLETS_PRIVACY_PENDING_CONSENT_REDIRECT_URL
setting.
Ran unit tests.
Diff Revision 6
This is not the most recent revision of the diff. The latest diff is revision 9. See what's changed.
orig
1
2
3
4
5
6
7
8
9
djblets/privacy/consent/views.py |
---|
djblets/privacy/tests/test_consent_views.py |
---|
docs/djblets/guides/privacy/consent.rst |
---|