Fix linting

This commit is contained in:
Yohann D'ANELLO 2020-11-01 20:30:02 +01:00
parent bcca41bfb6
commit 1392b50db1
4 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -245,6 +245,9 @@ class Question(models.Model):
verbose_name=_("question"),
)
def __str__(self):
return self.question
class Phase(models.Model):
"""

View File

@ -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.

View File

@ -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