mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-17 02:15:53 +02:00
Add some forms
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
from django.contrib.auth.forms import UserCreationForm
|
||||
from django import forms
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from member.models import TFJMUser
|
||||
@ -37,3 +38,9 @@ class SignUpForm(UserCreationForm):
|
||||
'responsible_email',
|
||||
'description',
|
||||
)
|
||||
|
||||
|
||||
class TFJMUserForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = TFJMUser
|
||||
fields = '__all__'
|
||||
|
Reference in New Issue
Block a user