forked from DGNum/gestioCOF
Py3 allows to shorten super()
This commit is contained in:
parent
5a5b60ec4d
commit
42e762bc4a
11 changed files with 57 additions and 57 deletions
|
@ -628,7 +628,7 @@ class SpectacleListView(ListView):
|
|||
return categories
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(SpectacleListView, self).get_context_data(**kwargs)
|
||||
context = super().get_context_data(**kwargs)
|
||||
context['tirage_id'] = self.tirage.id
|
||||
context['tirage_name'] = self.tirage.title
|
||||
return context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue