tcms.testplans.forms module

class tcms.testplans.forms.ClonePlanForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.forms.Form

base_fields = {'copy_testcases': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>, 'set_parent': <django.forms.fields.BooleanField object>, 'version': <django.forms.models.ModelChoiceField object>}
declared_fields = {'copy_testcases': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>, 'set_parent': <django.forms.fields.BooleanField object>, 'version': <django.forms.models.ModelChoiceField object>}
media
populate(product_pk)[source]
class tcms.testplans.forms.NewPlanForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.models.ModelForm

class Meta[source]

Bases: object

exclude = ('tag',)
model

alias of tcms.testplans.models.TestPlan

base_fields = {'author': <django.forms.models.ModelChoiceField object>, 'extra_link': <django.forms.fields.CharField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'parent': <django.forms.models.ModelChoiceField object>, 'product': <django.forms.models.ModelChoiceField object>, 'product_version': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>, 'type': <django.forms.models.ModelChoiceField object>}
declared_fields = {'text': <django.forms.fields.CharField object>}
media
populate(product_id)[source]
class tcms.testplans.forms.SearchPlanForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.forms.Form

base_fields = {'author__username__startswith': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>, 'tag__name__in': <django.forms.fields.CharField object>, 'version': <django.forms.models.ModelChoiceField object>}
clean_tag__name__in()[source]
declared_fields = {'author__username__startswith': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>, 'tag__name__in': <django.forms.fields.CharField object>, 'version': <django.forms.models.ModelChoiceField object>}
media
populate(product_id=None)[source]