Admin
hypha.apply.utils.admin
¶
ListRelatedMixin
¶
Provides a used_by column which can be found by defining related models in the following format:
related_models = [
(
e.g. This would be object.
get_queryset
¶
RelatedFormsMixin
¶
Provide columns for Application forms, Review forms, and Determination forms attached to the object.
Using to show the related forms in funds, labs and rounds listing.
application_forms
¶
Source code in hypha/apply/utils/admin.py
review_forms
¶
Source code in hypha/apply/utils/admin.py
determination_forms
¶
Source code in hypha/apply/utils/admin.py
AdminIcon
¶
Bases: Enum
Enum used to keep Wagtail icons consistent across the admin interface
Icon names pulled from https://docs.wagtail.org/en/stable/advanced_topics/icons.html#available-icons