tcms.kiwi_auth.forms module

class tcms.kiwi_auth.forms.RegistrationForm(*args, **kwargs)[source]

Bases: django.contrib.auth.forms.UserCreationForm

class Meta[source]

Bases: object

fields = ('username',)
model

alias of django.contrib.auth.models.User

base_fields = {'email': <django.forms.fields.EmailField object at 0x7fcb2d2af668>, 'password1': <django.forms.fields.CharField object at 0x7fcb2e7a2550>, 'password2': <django.forms.fields.CharField object at 0x7fcb2e7a26a0>, 'username': <django.forms.fields.CharField object at 0x7fcb2d2af2b0>}
clean_email()[source]
declared_fields = {'email': <django.forms.fields.EmailField object at 0x7fcb2d2af668>, 'password1': <django.forms.fields.CharField object at 0x7fcb2e7a2550>, 'password2': <django.forms.fields.CharField object at 0x7fcb2e7a26a0>}
media
save(commit=True)[source]

Save this form’s self.instance object if commit=True. Otherwise, add a save_m2m() method to the form which can be called after the instance is saved manually at a later time. Return the model instance.

send_confirm_mail(request, activation_key)[source]
set_activation_key()[source]