Merge remote-tracking branch 'origin/Kerl/fix_bda' into Aufinal/view_spectacles
This commit is contained in:
commit
ec2258d352
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ class SpectacleListView(ListView):
|
|||
template_name = 'spectacle_list.html'
|
||||
def get_queryset(self):
|
||||
self.tirage = get_object_or_404(Tirage, id=self.kwargs['tirage_id'])
|
||||
categories = self.tirage.spectacle_set
|
||||
categories = self.tirage.spectacle_set.all()
|
||||
return categories
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(SpectacleListView, self).get_context_data(**kwargs)
|
||||
|
|
Loading…
Reference in a new issue