Jump to >

This documentation covers the in-development release of Review Board. You can see the latest stable docs or all previous versions.


class WebHookTargetManager[source]

Bases: django.db.models.manager.Manager

Manages WebHookTarget models.

This provides a utility function for querying WebHookTargets for a given event.

for_event(event, local_site_id=None, repository_id=None)[source]

Returns a list of matching webhook targets for the given event.


Return a list of webhooks on the local site.

Parameters:local_site (reviewboard.site.models.LocalSite) – An optional local site.
Returns:A queryset matching all accessible webhooks.
Return type:django.db.models.query.QuerySet
can_create(user, local_site=None)[source]

Return whether the user can create webhooks on the local site.


Whether or not the use can create a webhook on the local site.

Return type:


__slotnames__ = [][source]