mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 07:02:22 +00:00
Fix linting
This commit is contained in:
parent
5a865efd18
commit
8515153be7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user