mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2024-12-05 02:06:52 +00:00
Fix linting
This commit is contained in:
parent
bcca41bfb6
commit
1392b50db1
@ -1,6 +1,5 @@
|
||||
from django.core.management import BaseCommand
|
||||
|
||||
from corres2math.matrix import Matrix, RoomVisibility
|
||||
from django.core.management import BaseCommand
|
||||
from participation.models import Participation
|
||||
|
||||
|
||||
|
@ -245,6 +245,9 @@ class Question(models.Model):
|
||||
verbose_name=_("question"),
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
return self.question
|
||||
|
||||
|
||||
class Phase(models.Model):
|
||||
"""
|
||||
|
@ -449,7 +449,6 @@ class DeleteQuestionView(LoginRequiredMixin, DeleteView):
|
||||
return reverse_lazy("participation:participation_detail", args=(self.object.participation.pk,))
|
||||
|
||||
|
||||
|
||||
class UploadVideoView(LoginRequiredMixin, UpdateView):
|
||||
"""
|
||||
Upload a solution video for a team.
|
||||
|
@ -1,7 +1,7 @@
|
||||
from corres2math.lists import get_sympa_client
|
||||
from corres2math.matrix import Matrix
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
from corres2math.matrix import Matrix
|
||||
from .models import AdminRegistration, Registration
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user