From 961c2230a04c397cd718fc4bbcb5264135d073f9 Mon Sep 17 00:00:00 2001 From: moanos Date: Fri, 31 May 2024 13:48:22 +0200 Subject: [PATCH] fix: fix order --- src/fellchensammlung/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index 88fd615..42c9217 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -138,7 +138,7 @@ class AdoptionNotice(models.Model): if self.location is None: return None else: - return (self.location.longitude, self.location.latitude) + return self.location.latitude, self.location.longitude def get_absolute_url(self): """Returns the url to access a detailed page for the animal."""