diff --git a/markup/utils.py b/markup/utils.py index fdf972f9d63efee92df267693ea61726561f4d45..6a4a87569d0ebeeefe49ef5ed0f029b79fbc10d2 100644 --- a/markup/utils.py +++ b/markup/utils.py @@ -98,7 +98,7 @@ def match_rst_hyperlink_reference(text): # reStructuredText roles and directives def match_rst_role(text, role=None): """ - Return first match object of regex search for given ReST role :role:`... . + Return first match object of regex search for given ReST role :role:... . If no role is given, all roles in ReST_ROLES are tested one by one. """ diff --git a/submissions/mixins.py b/submissions/mixins.py index 86e1ba8d42e782409f580b20bb3fa120fc7ce26c..ee7a26bd1a6a906a0168c8ceaf24d7d1ca952874 100644 --- a/submissions/mixins.py +++ b/submissions/mixins.py @@ -89,6 +89,7 @@ class SubmissionAdminViewMixin(FriendlyPermissionMixin, SubmissionFormViewMixin) This method is used in all Class-Based-Views. However, if one overwrites either one of the - get_object() - get_queryset() + methods, please don't forget to call super().method_name() to not remove this filter! """ qs = super().get_queryset() diff --git a/submissions/views.py b/submissions/views.py index 88517b68cc1f1f212edc74c3126627fa5be3f3b7..28008f7149a6a0f279343c29bd0c15a7fdf8a002 100644 --- a/submissions/views.py +++ b/submissions/views.py @@ -2291,6 +2291,7 @@ def submissions_processing_timescales(submissions, phase): :params: * phase: one of `screening`, `acceptance` + """ timescales = [] now = timezone.now()