mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 09:42:10 +01:00 
			
		
		
		
	Why was it broken
This commit is contained in:
		@@ -10,6 +10,7 @@ from django.utils import formats
 | 
			
		||||
from django.utils.translation import gettext_lazy as _
 | 
			
		||||
from PyPDF3 import PdfFileReader
 | 
			
		||||
 | 
			
		||||
from registration.models import VolunteerRegistration
 | 
			
		||||
from .models import Note, Participation, Passage, Pool, Solution, Synthesis, Team, Tournament
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -136,6 +137,7 @@ class TournamentForm(forms.ModelForm):
 | 
			
		||||
        self.fields["syntheses_second_phase_limit"].widget = DateTimePickerInput(
 | 
			
		||||
                format=formats.get_format_lazy(format_type="DATETIME_INPUT_FORMATS", use_l10n=True)[0])
 | 
			
		||||
        self.fields["organizers"].widget = forms.CheckboxSelectMultiple()
 | 
			
		||||
        self.fields["organizers"].queryset = VolunteerRegistration.objects.all()
 | 
			
		||||
 | 
			
		||||
    class Meta:
 | 
			
		||||
        model = Tournament
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user