Source code for tcms.rpc.api.forms.testplan

from django import forms

from tcms.rpc.api.forms import UpdateModelFormMixin
from tcms.testplans.forms import NewPlanForm
from tcms.testplans.models import PlanType


[docs] class EditPlanForm( UpdateModelFormMixin, NewPlanForm ): # pylint: disable=remove-empty-class,too-many-ancestors pass
[docs] class PlanTypeForm(forms.ModelForm):
[docs] class Meta: model = PlanType fields = "__all__"