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: if self.location is None:
return None return None
else: else:
return (self.location.longitude, self.location.latitude) return self.location.latitude, self.location.longitude
def get_absolute_url(self): def get_absolute_url(self):
"""Returns the url to access a detailed page for the animal.""" """Returns the url to access a detailed page for the animal."""