Display real solutions deadline
This commit is contained in:
parent
70f391420c
commit
0b48c0fa95
|
@ -328,7 +328,7 @@ class SolutionsView(TeamMixin, BaseFormView, SingleTableView):
|
||||||
self.object_list = self.get_queryset()
|
self.object_list = self.get_queryset()
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
context["now"] = timezone.now()
|
context["now"] = timezone.now()
|
||||||
context["real_deadline"] = self.request.user.team.tournament.date_solutions + timedelta(minutes=30)
|
context["real_deadline"] = self.request.user.team.future_tournament.date_solutions + timedelta(minutes=30)
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
|
|
Loading…
Reference in New Issue