Commit 3ac1f180 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

events: bugfix event neighbors lookup

parent 8612bd76
......@@ -273,7 +273,7 @@ class Event(models.Model):
def neighbors(self, neighborhood=None):
if not self.gpstime:
return []
return Event.objects.none()
if == 'Test':
nearby = Event.objects.filter(group__name='Test')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment