mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-29 22:28:32 -04:00
Rename model to AllOrganisations
This makes it clearer that this model collection isn’t the organisations for a user or a service or some other entity, like most model collections are. It will also lets us make a separate Organisations model, without the name conflicting.
This commit is contained in:
@@ -204,6 +204,6 @@ class Organisation(JSONModel):
|
||||
return organisations_client.get_services_and_usage(self.id, financial_year)
|
||||
|
||||
|
||||
class Organisations(ModelList):
|
||||
class AllOrganisations(ModelList):
|
||||
client_method = organisations_client.get_organisations
|
||||
model = Organisation
|
||||
|
||||
Reference in New Issue
Block a user