mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2024-12-05 01:26:54 +00:00
Linting
This commit is contained in:
parent
92e66d75ab
commit
98abe243a7
@ -1,5 +1,6 @@
|
||||
import re
|
||||
|
||||
from corres2math.lists import get_sympa_client
|
||||
from django.core.exceptions import ObjectDoesNotExist
|
||||
from django.core.validators import RegexValidator
|
||||
from django.db import models
|
||||
@ -8,8 +9,6 @@ from django.utils.crypto import get_random_string
|
||||
from django.utils.text import format_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from corres2math.lists import get_sympa_client
|
||||
|
||||
|
||||
class Team(models.Model):
|
||||
name = models.CharField(
|
||||
|
@ -1,16 +1,16 @@
|
||||
from io import BytesIO
|
||||
from zipfile import ZipFile
|
||||
|
||||
from corres2math.lists import get_sympa_client
|
||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.db import transaction
|
||||
from django.http import FileResponse, HttpResponse
|
||||
from django.http import HttpResponse
|
||||
from django.urls import reverse_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.views.generic import CreateView, DetailView, FormView, RedirectView, UpdateView
|
||||
from magic import Magic
|
||||
|
||||
from corres2math.lists import get_sympa_client
|
||||
from .forms import JoinTeamForm, ParticipationForm, TeamForm, UploadVideoForm
|
||||
from .models import Participation, Team, Video
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
from django.contrib import admin
|
||||
from polymorphic.admin import PolymorphicChildModelAdmin, PolymorphicParentModelAdmin
|
||||
|
||||
from registration.models import AdminRegistration, CoachRegistration, Registration, StudentRegistration
|
||||
from .models import AdminRegistration, CoachRegistration, Registration, StudentRegistration
|
||||
|
||||
|
||||
@admin.register(Registration)
|
||||
|
Loading…
Reference in New Issue
Block a user