Skip to content

Commit

Permalink
refactor(apis_entities): reorder E3_Place coordinate fields
Browse files Browse the repository at this point in the history
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
  • Loading branch information
koeaw committed Dec 4, 2024
1 parent 10c524e commit b587a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_core/apis_entities/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b587a50

Please sign in to comment.