From d15fe38da763f9d5e4c4883d4a413581f005f513 Mon Sep 17 00:00:00 2001 From: KK Date: Wed, 4 Dec 2024 14:11:41 +0100 Subject: [PATCH] refactor(apis_entities): reorder E3_Place coordinate fields Swap `E3_Place` `latitude` and `longitude` fields so that the fields appear in the order in which geographic coordinates are given. Relevant for views/tools which base the default order of model fields on how they are originally defined. Closes: #1475 --- apis_core/apis_entities/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis_core/apis_entities/abc.py b/apis_core/apis_entities/abc.py index 34a98979b..fedce0282 100644 --- a/apis_core/apis_entities/abc.py +++ b/apis_core/apis_entities/abc.py @@ -26,8 +26,8 @@ def __str__(self): class E53_Place(models.Model): label = models.CharField(blank=True, default="", max_length=4096) - longitude = models.FloatField(blank=True, null=True) latitude = models.FloatField(blank=True, null=True) + longitude = models.FloatField(blank=True, null=True) class Meta: abstract = True