diff options
author | luxagraf <sng@luxagraf.net> | 2019-07-04 08:17:40 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-07-04 08:17:40 -0500 |
commit | 9251b1c1149b3d6abd779ab8b8c9e709ec09bdbf (patch) | |
tree | 770154a25806cefbf5c75bd9e55757a6cbbcc749 /app/sightings | |
parent | 829cf6908dff98915c9c56a8cfa191f25c41bd98 (diff) |
added guides to main admin
Diffstat (limited to 'app/sightings')
-rw-r--r-- | app/sightings/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/sightings/models.py b/app/sightings/models.py index 7527615..2a14e85 100644 --- a/app/sightings/models.py +++ b/app/sightings/models.py @@ -201,6 +201,8 @@ class Sighting(models.Model): self.location = Location.objects.filter(geometry__contains=self.point).get() except Location.MultipleObjectsReturned: for l in Location.objects.filter(geometry__contains=self.point): + print(l) + print(l.parent) if l.parent: self.location = l break |