reviewboard.notifications.forms¶
Notification-related forms.
-
class
WebHookTargetForm
(data=None, initial={}, request=None, *args, **kwargs)[source]¶ Bases:
reviewboard.site.mixins.LocalSiteAwareModelFormMixin
,django.forms.models.ModelForm
A form for creating and updating WebHookTargets.
-
clean_extra_data
()[source]¶ Ensure that extra_data is a valid value.
Returns: Either a non-zero length string of JSON-encoded extra data or None. Return type: unicode
-
class
Meta
[source]¶ -
-
widgets
= {u'apply_to': <django.forms.widgets.RadioSelect object>, u'repositories': <django.contrib.admin.widgets.FilteredSelectMultiple object>}[source]¶
-
-