Fix broken new event form

This commit is contained in:
Michael Hall 2018-01-24 10:58:47 -05:00
parent a3a636f5c0
commit d5217c14f3

View file

@ -107,7 +107,7 @@ def update_event_searchable(event):
searchable.longitude = event.place.longitude or None
searchable.latitude = event.place.latitude
else:
searchable.location_name = team.location_name
searchable.location_name = event.team.location_name
searchable.longitude = None
searchable.latitude = None
searchable.save()