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:
Chris Hill-Scott
2021-09-28 09:02:15 +01:00
parent cbbc58e649
commit 029682d561
5 changed files with 10 additions and 10 deletions

View File

@@ -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