tcms.kiwi_auth.views module

class tcms.kiwi_auth.views.Confirm(**kwargs)[source]

Bases: django.views.generic.base.RedirectView

Confirm the user registration

get_redirect_url(*args, **kwargs)[source]

Return the URL redirect to. Keyword arguments from the URL pattern match generating the redirect request are provided as kwargs to this method.

http_method_names = ['get']
class tcms.kiwi_auth.views.LoginViewWithCustomTemplate(**kwargs)[source]

Bases: django.contrib.auth.views.LoginView

get_template_names()[source]

Return a list of template names to be used for the request. Must return a list. May not be called if render_to_response() is overridden.

class tcms.kiwi_auth.views.PasswordResetView(**kwargs)[source]

Bases: django.contrib.auth.views.PasswordResetView

form_class

alias of tcms.kiwi_auth.forms.PasswordResetForm

class tcms.kiwi_auth.views.Profile(**kwargs)[source]

Bases: django.views.generic.base.View

Show user profiles

get(request, username)[source]
http_method_names = ['get']
class tcms.kiwi_auth.views.Register(**kwargs)[source]

Bases: django.views.generic.base.View

Register method of account

form_class

alias of tcms.kiwi_auth.forms.RegistrationForm

get(request)[source]

Get request handler.

post(request)[source]

Post request handler.

Show messages with site admins emails as links.

Show messages with super users emails as links.

success_url = '/'
template_name = 'registration/registration_form.html'