mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-03 10:42:49 +02:00
Try to add CI
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
|
@ -3,7 +3,7 @@ from django.contrib.auth.models import User
|
||||
from django import forms
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from registration.models import StudentRegistration, CoachRegistration, AdminRegistration
|
||||
from .models import StudentRegistration, CoachRegistration, AdminRegistration
|
||||
|
||||
|
||||
class SignupForm(UserCreationForm):
|
||||
|
@ -5,7 +5,6 @@ from django.utils.encoding import force_bytes
|
||||
from django.utils.http import urlsafe_base64_encode
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from polymorphic.models import PolymorphicModel
|
||||
|
||||
from corres2math.tokens import email_validation_token
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
from registration.models import AdminRegistration, Registration
|
||||
from .models import AdminRegistration, Registration
|
||||
|
||||
|
||||
def set_username(instance, **_):
|
||||
|
@ -1,3 +0,0 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
|
@ -8,8 +8,8 @@ from django.urls import reverse_lazy
|
||||
from django.utils.http import urlsafe_base64_decode
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.views.generic import CreateView, TemplateView, DetailView
|
||||
|
||||
from corres2math.tokens import email_validation_token
|
||||
|
||||
from .forms import SignupForm, StudentRegistrationForm, CoachRegistrationForm
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user