Skip to content
Snippets Groups Projects

Make sure that anonymous users can view events

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -166,7 +166,7 @@ def event(request, event_id):
member=request.user.member
)
context['registration'] = registration
except Registration.DoesNotExist:
except (Registration.DoesNotExist, AttributeError):
pass
return render(request, 'events/event.html', context)
Loading