- Description:
-
~ This change adds a
nameproperty to WebHooks so that they are similar~ to other models that have a namefield. In addition, The default~ fieldset in the admin has been changed to have a label instead of ~ None.~ The default fieldset for WebHooks in the admin form now has a label
~ instead of None. In addition, the__str__method of~ WebHookTargets now just returns the URL, which is a more readable~ string for viewing in the admin panel. - Commit:
-
fe699af2954c24f645c9546c47ea6358e8b9b29ef3bd51b09acd506eea21d4f715577b2b0ff51c12
Do some WebHook-related cleanups
Review Request #8223 — Created June 7, 2016 and submitted
The default fieldset for WebHooks in the admin form now has a label
instead ofNone. In addition, the__str__method of
WebHookTargets now just returns the URL, which is a more readable
string for viewing in the admin panel.
-
Tool: Pyflakes Processed Files: reviewboard/notifications/models.py reviewboard/notifications/admin.py Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/models.py reviewboard/notifications/admin.py Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/models.py reviewboard/notifications/admin.py Tool: Pyflakes Processed Files: reviewboard/notifications/models.py reviewboard/notifications/admin.py