web.mixins.TestActionMixin module

Module with web.mixins.TestActionMixin.

class web.mixins.TestActionMixin.TestActionMixin[source]

Bases: object

Mixin to provide test button handling for views.

handle_test(request)[source]

Handler function for the test action.

Parameters:

request (HttpRequest) – The action request to handle.

Return type:

HttpResponse

Returns:

A template response with the updated view after the action.