users.viewsΒΆ
Views for the users application.
ClassesΒΆ
Login view for the trustpoint application. |
Module ContentsΒΆ
- class users.views.TrustpointLoginView(**kwargs)[source]ΒΆ
Bases:
django.contrib.auth.views.LoginViewLogin view for the trustpoint application.
- get(request, *args, **kwargs)[source]ΒΆ
Redirects to the appropriate startup wizard section if the setup wizard is not completed.
- Parameters:
request (django.http.HttpRequest) β The django request object.
*args (Any) β All positional arguments are passed to super().get().
**kwargs (Any) β All keyword arguments are passed to super().get().
- Returns:
The HttpResponse object, which may be a redirect.
- Return type:
django.http.HttpResponse
- post(request, *args, **kwargs)[source]ΒΆ
Redirects to the appropriate startup wizard section if the setup wizard is not completed.
- Parameters:
request (django.http.HttpRequest) β The django request object.
*args (Any) β All positional arguments are passed to super().post().
**kwargs (Any) β All keyword arguments are passed to super().post().
- Returns:
The HttpResponse object, which may be a redirect.
- Return type:
django.http.HttpResponse