tcms.testplans.views module¶
- class tcms.testplans.views.Clone(**kwargs)[source]¶
Bases:
FormView
- dispatch(request, *args, **kwargs)¶
- form_class¶
alias of
ClonePlanForm
- get(request, *args, **kwargs)[source]¶
Handle GET requests: instantiate a blank version of the form.
- object = None¶
- post(request, *args, **kwargs)[source]¶
Handle POST requests: instantiate a form instance with the passed POST variables and then check if it’s valid.
- template_name = 'testplans/clone.html'¶
- class tcms.testplans.views.Edit(**kwargs)[source]¶
Bases:
UpdateView
- dispatch(request, *args, **kwargs)¶
- form_class¶
alias of
NewPlanForm
- template_name = 'testplans/mutable.html'¶
- class tcms.testplans.views.GetTestPlanRedirectView(**kwargs)[source]¶
Bases:
DetailView
- dispatch(request, *args, **kwargs)¶
- http_method_names = ['get']¶
- class tcms.testplans.views.NewTestPlanView(**kwargs)[source]¶
Bases:
CreateView
- dispatch(request, *args, **kwargs)¶
- form_class¶
alias of
NewPlanForm
- template_name = 'testplans/mutable.html'¶