fix: fix order

This commit is contained in:
moanos [he/him] 2024-05-31 13:48:22 +02:00
parent 213bb3c45f
commit 961c2230a0

View File

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