fix: fix order
This commit is contained in:
parent
213bb3c45f
commit
961c2230a0
@ -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."""
|
||||||
|
Loading…
Reference in New Issue
Block a user