Admin
hypha.apply.determinations.admin
¶
CloneView
¶
DeterminationFormAdmin
¶
Bases: ListRelatedMixin
, ModelAdmin
create_view_class
class-attribute
instance-attribute
¶
create_view_class = CreateDeterminationFormView
related_models
class-attribute
instance-attribute
¶
related_models = [('applicationbasedeterminationform', 'application'), ('roundbasedeterminationform', 'round'), ('labbasedeterminationform', 'lab')]
get_queryset
¶
used_by
¶
get_admin_urls_for_registration
¶
Source code in hypha/apply/determinations/admin.py
DeterminationMessageSettingsAdmin
¶
Bases: SettingModelAdmin
Don't allow initialization unless self.model is set to a valid model
Source code in hypha/core/wagtail/admin/options.py
permission_helper
instance-attribute
¶
get_menu_item
¶
get_admin_urls_for_registration
¶
get_permission_helper_class
¶
Returns a permission_helper class to help with permission-based logic for the given model.
Copied from the wagtail's ModelAdmin
Source code in hypha/core/wagtail/admin/options.py
get_permissions_for_registration
¶
Utilised by Wagtail's 'register_permissions' hook to allow permissions for a model to be assigned to groups in settings. This is only required if the model isn't a Page model, and isn't registered as a Snippet
Copied from the wagtail's ModelAdmin
Source code in hypha/core/wagtail/admin/options.py
DeterminationFormSettingsAdmin
¶
Bases: SettingModelAdmin
Don't allow initialization unless self.model is set to a valid model
Source code in hypha/core/wagtail/admin/options.py
permission_helper
instance-attribute
¶
get_menu_item
¶
get_admin_urls_for_registration
¶
get_permission_helper_class
¶
Returns a permission_helper class to help with permission-based logic for the given model.
Copied from the wagtail's ModelAdmin
Source code in hypha/core/wagtail/admin/options.py
get_permissions_for_registration
¶
Utilised by Wagtail's 'register_permissions' hook to allow permissions for a model to be assigned to groups in settings. This is only required if the model isn't a Page model, and isn't registered as a Snippet
Copied from the wagtail's ModelAdmin