Jump to >

reviewboard.site.context_processors

localsite(request)[source]

Returns context variables useful to Local Sites.

This provides the name of the Local Site (local_site_name), and a permissions variable used for accessing user permissions (perm).

perm overrides the permissions provided by the Django auth framework. These permissions cover Local Sites along with the standard global permissions.