1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-05 01:26:54 +00:00
This commit is contained in:
Yohann D'ANELLO 2020-10-09 13:58:42 +02:00
parent 92e66d75ab
commit 98abe243a7
3 changed files with 4 additions and 5 deletions

View File

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

View File

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

View File

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