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