mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 10:22:11 +01:00 
			
		
		
		
	Display real solutions deadline
This commit is contained in:
		@@ -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):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user