mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-26 19:42:22 +00:00
Fix linting
This commit is contained in:
parent
5a865efd18
commit
8515153be7
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import requests
|
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.core.management import BaseCommand
|
from django.core.management import BaseCommand
|
||||||
|
import requests
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
|
@ -613,7 +613,7 @@ class PassageCreateView(VolunteerMixin, CreateView):
|
|||||||
def get_form(self, form_class=None):
|
def get_form(self, form_class=None):
|
||||||
form = super().get_form(form_class)
|
form = super().get_form(form_class)
|
||||||
form.instance.pool = self.pool
|
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["opponent"].queryset = self.pool.participations.all()
|
||||||
form.fields["reporter"].queryset = self.pool.participations.all()
|
form.fields["reporter"].queryset = self.pool.participations.all()
|
||||||
return form
|
return form
|
||||||
|
Loading…
Reference in New Issue
Block a user