mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 16:42:28 +01:00 
			
		
		
		
	Fix linting
This commit is contained in:
		@@ -3,9 +3,9 @@
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
import requests
 | 
			
		||||
from django.contrib.auth.models import User
 | 
			
		||||
from django.core.management import BaseCommand
 | 
			
		||||
import requests
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Command(BaseCommand):
 | 
			
		||||
 
 | 
			
		||||
@@ -613,7 +613,7 @@ class PassageCreateView(VolunteerMixin, CreateView):
 | 
			
		||||
    def get_form(self, form_class=None):
 | 
			
		||||
        form = super().get_form(form_class)
 | 
			
		||||
        form.instance.pool = self.pool
 | 
			
		||||
        fSynthesisorm.fields["defender"].queryset = self.pool.participations.all()
 | 
			
		||||
        form.fields["defender"].queryset = self.pool.participations.all()
 | 
			
		||||
        form.fields["opponent"].queryset = self.pool.participations.all()
 | 
			
		||||
        form.fields["reporter"].queryset = self.pool.participations.all()
 | 
			
		||||
        return form
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user