mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-22 19:18:22 +02:00
Try to add CI
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
|
@ -2,7 +2,6 @@ from django.core.validators import RegexValidator
|
||||
from django.db import models
|
||||
from django.db.models import Index
|
||||
from django.utils.crypto import get_random_string
|
||||
from django.utils.functional import lazy
|
||||
from django.utils.text import format_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
@ -120,7 +119,7 @@ class Video(models.Model):
|
||||
|
||||
def __str__(self):
|
||||
return _("Video of team {name} ({trigram})")\
|
||||
.format(name=self.participation.team.name, trigram = self.participation.team.trigram)
|
||||
.format(name=self.participation.team.name, trigram=self.participation.team.trigram)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("video")
|
||||
|
@ -1,3 +0,0 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
|
@ -5,8 +5,8 @@ from django.urls import reverse_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.views.generic import CreateView, FormView, DetailView, RedirectView, UpdateView
|
||||
|
||||
from participation.forms import TeamForm, JoinTeamForm, ParticipationForm
|
||||
from participation.models import Team
|
||||
from .forms import TeamForm, JoinTeamForm, ParticipationForm
|
||||
from .models import Team
|
||||
|
||||
|
||||
class CreateTeamView(LoginRequiredMixin, CreateView):
|
||||
|
Reference in New Issue
Block a user