basic_pages.views.SuccessView

class basic_pages.views.SuccessView(**kwargs)[source]

A Django class-based view that renders the ‘success_page.html’ template.

Attributes:

template_name (str): The name of the template to render, which is set to “success_page.html”.

__init__(**kwargs)

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

Methods

__init__(**kwargs)

Constructor.

as_view(**initkwargs)

Main entry point for a request-response process.

dispatch(request, *args, **kwargs)

get(request, *args, **kwargs)

get_context_data(**kwargs)

get_template_names()

Return a list of template names to be used for the request.

http_method_not_allowed(request, *args, **kwargs)

options(request, *args, **kwargs)

Handle responding to requests for the OPTIONS HTTP verb.

render_to_response(context, **response_kwargs)

Return a response, using the response_class for this view, with a template rendered with the given context.

setup(request, *args, **kwargs)

Initialize attributes shared by all view methods.

Attributes

content_type

extra_context

http_method_names

template_engine

template_name

view_is_async