plateforme-tfjm2/apps/member/views.py

11 lines
236 B
Python
Raw Normal View History

2020-04-29 13:29:01 +00:00
from django.views.generic import CreateView
2020-04-29 02:06:02 +00:00
2020-04-29 13:29:01 +00:00
from .forms import SignUpForm
from .models import TFJMUser
class CreateUserView(CreateView):
model = TFJMUser
form_class = SignUpForm
template_name = "registration/signup.html"