diff options
author | lxf <sng@luxagraf.net> | 2022-01-03 17:32:58 -0500 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2022-01-03 17:32:58 -0500 |
commit | 94561826f25c3e0860aaf071dabb1781fdcca2e9 (patch) | |
tree | 449b6a6b1cab7ceddff202fbbae9a7ef789c535a | |
parent | 617b485a0147266d93ec7db22afd2cd9055b0c09 (diff) |
loc: fixed a bug in Track save method
-rw-r--r-- | app/locations/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/locations/models.py b/app/locations/models.py index 9580132..5c5636a 100644 --- a/app/locations/models.py +++ b/app/locations/models.py @@ -523,5 +523,5 @@ class Track(models.Model): self.location = Location.objects.filter(geometry__contains=self.point).get() except Location.DoesNotExist: raise forms.ValidationError("There is no location associated with that point, add it: %sadmin/locations/location/add/" % (settings.BASE_URL)) - super(Walk, self).save(*args, **kwargs) + super(Track, self).save(*args, **kwargs) |