Views
- class cookie_consent.views.CookieGroupAcceptView(**kwargs)
View to accept CookieGroup.
- class cookie_consent.views.CookieGroupBaseProcessView(**kwargs)
- get_success_url()
If user adds a ‘next’ as URL parameter or hidden input, redirect to the value of ‘next’. Otherwise, redirect to cookie consent group list
- class cookie_consent.views.CookieGroupDeclineView(**kwargs)
View to decline CookieGroup.
- class cookie_consent.views.CookieGroupListView(**kwargs)
Display all cookies.
- model
alias of
CookieGroup
- class cookie_consent.views.CookieStatusView(**kwargs)
Check the current accept/decline status for cookies.
The returned accept and decline URLs are specific to this user and include the cookie groups that weren’t accepted or declined yet.
Note that this endpoint also returns a CSRF Token to be used by the frontend, as baking a CSRFToken into a cached page will not reliably work.