8000 Documentation: toolbar request_hook usage isn't clear · Issue #6378 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content
Documentation: toolbar request_hook usage isn't clear #6378
Closed
@geoidesic

Description

@geoidesic

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0