Closed
Description
Summary
The docs here http://docs.django-cms.org/en/latest/how_to/toolbar.html say "The request_hook function is called before the view and may return a response. This way you can issue redirects from a toolbar if needed"
It's not clear what is being referred to by "view" – which view? Also I've not seen this function trigger, not when the toolbar renders, nor when editing or creating new records for the related model via the admin section, so it's not clear how it works.
Expected behaviour
Documentation should make sense
Actual behaviour
Documentation doesn't make sense
Environment
- Python version: 3.6.4
- Django version: 1.11
- django CMS version: 3.5.2