mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
14 lines
328 B
Python
14 lines
328 B
Python
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",
|
|
]
|