1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/users/forms.py

15 lines
328 B
Python
Raw Normal View History

2021-09-05 22:04:14 +02:00
from django_registration.forms import RegistrationForm
from users.models import TenantUser
class CustomRegistrationForm(RegistrationForm):
class Meta(RegistrationForm.Meta):
model = TenantUser
fields = [
"name",
"email",
"password1",
"password2",
]