mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 06:26:34 +02:00
formatted model files for readability
This commit is contained in:
parent
427f396391
commit
87d13e2994
3 changed files with 5 additions and 6 deletions
|
@ -1816,9 +1816,9 @@ class PortfolioInvitationAdmin(BaseInvitationAdmin):
|
|||
def get_roles(self, obj):
|
||||
readable_roles = obj.get_readable_roles()
|
||||
return ", ".join(readable_roles)
|
||||
|
||||
|
||||
get_roles.short_description = "Member access" # type: ignore
|
||||
|
||||
|
||||
# Select portfolio invitations to change -> Portfolio invitations
|
||||
def changelist_view(self, request, extra_context=None):
|
||||
if extra_context is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue