mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:42:11 +01:00 
			
		
		
		
	Juries are volunteers
This commit is contained in:
		@@ -244,7 +244,8 @@ class UploadNotesForm(forms.Form):
 | 
			
		||||
 | 
			
		||||
            first_name, last_name = tuple(name.split(' ', 1))
 | 
			
		||||
 | 
			
		||||
            jury = User.objects.filter(first_name=first_name, last_name=last_name)
 | 
			
		||||
            jury = User.objects.filter(first_name=first_name, last_name=last_name,
 | 
			
		||||
                                       registration__volunteerregistration__isnull=False)
 | 
			
		||||
            if jury.count() != 1:
 | 
			
		||||
                self.add_error('file', _("The following user was not found:") + " " + name)
 | 
			
		||||
                continue
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user