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 0x7ff96552c6d8>, 'password1': <django.forms.fields.CharField object at 0x7ff966da34a8>, 'password2': <django.forms.fields.CharField object at 0x7ff966d99908>, 'username': <django.forms.fields.CharField object at 0x7ff9654ed668>}
clean_email()[source]
declared_fields = {'email': <django.forms.fields.EmailField object at 0x7ff96552c6d8>, 'password1': <django.forms.fields.CharField object at 0x7ff966da34a8>, 'password2': <django.forms.fields.CharField object at 0x7ff966d99908>}
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]