In the header of the django admin, I want display a link. This link should only be visible to users of a specific group (and for the link, I need some additional data to reverse it).
How can I add this values globally to the context used in django admin templates?
You could write an inclusion tag that renders the link.
If you include the
django.contrib.auth.context_processors.authtemplate context processor, you will be able to accessuserin the context.