Skip to content

Commit

Permalink
[orga] Fix access of information objects
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Dec 5, 2018
1 parent 3565915 commit 60ee0f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pretalx/orga/views/speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class InformationList(PermissionRequired, ListView):
permission_required = 'orga.view_information'

def get_queryset(self):
return self.request.event.information.objects.all()
return self.request.event.information.all()

def get_permission_object(self):
return self.request.event
Expand Down Expand Up @@ -263,7 +263,7 @@ class InformationDelete(PermissionRequired, DetailView):
template_name = 'orga/speaker/information_delete.html'

def get_queryset(self):
return self.request.event.information.objects.all()
return self.request.event.information.all()

def post(self, request, *args, **kwargs):
information = self.get_object()
Expand Down

0 comments on commit 60ee0f4

Please sign in to comment.