From 28730542dc0ef4f3acad2c01112bce31c2f4af3f Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 28 Nov 2021 19:49:51 +0530 Subject: [PATCH] Rename Organization to Organisation Note: the internal fields/variables are still organization ! --- app/admin.py | 2 +- app/models.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/admin.py b/app/admin.py index dcd8d3a..94a1bea 100644 --- a/app/admin.py +++ b/app/admin.py @@ -367,7 +367,7 @@ admin.site.register(TrendsQuantity, TrendsQuantityAdmin) # Others admin.site.register(Repository, RepositoryAdmin) admin.site.register(GMBA_function, GMBAFunctionAdmin) -admin.site.register(Organization, OrganizationAdmin) +admin.site.register(Organisation, OrganizationAdmin) admin.site.register(RangeOnlineInfo, RangeOnlineInfoAdmin) admin.site.register(RangeNameTranslation, RangeNameTranslationAdmin) diff --git a/app/models.py b/app/models.py index b459bdb..a2d82c8 100644 --- a/app/models.py +++ b/app/models.py @@ -347,7 +347,7 @@ class GMBA_function(models.Model): return self.gmba_function -class Organization(models.Model): +class Organisation(models.Model): CATEGORY_CHOICES = ( ('Independent', 'Independent'), ('Public administration > Research Institution', 'Public administration > Research Institution'), @@ -574,7 +574,7 @@ Involved scientist''') gmba_function = models.TextField(blank=True, null=True, choices=GMBA_FUNCTION_CHOICES) news_letter = models.BooleanField(default=False) country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True, to_field='id') - organization = models.ForeignKey(Organization, models.DO_NOTHING, blank=True, null=True) + organization = models.ForeignKey(Organisation, models.DO_NOTHING, blank=True, null=True) birds = models.BooleanField(default=False) mammals = models.BooleanField(default=False) reptiles = models.BooleanField(default=False)