fix: remove double str
This commit is contained in:
parent
d2219188d3
commit
fb9ed07abc
@ -63,8 +63,6 @@ class Species(models.Model):
|
|||||||
|
|
||||||
|
|
||||||
class Location(models.Model):
|
class Location(models.Model):
|
||||||
def __str__(self):
|
|
||||||
return f"{self.name} ({self.latitude:.5}, {self.longitude:.5})"
|
|
||||||
|
|
||||||
place_id = models.IntegerField()
|
place_id = models.IntegerField()
|
||||||
latitude = models.FloatField()
|
latitude = models.FloatField()
|
||||||
|
Loading…
Reference in New Issue
Block a user