tcms.rpc.api.forms.management module

class tcms.rpc.api.forms.management.BuildForm(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: ModelForm

class Meta[source]

Bases: object

fields = '__all__'
model

alias of Build

base_fields = {'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'version': <django.forms.models.ModelChoiceField object>}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

class tcms.rpc.api.forms.management.BuildUpdateForm(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: UpdateModelFormMixin, BuildForm

base_fields = {'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'version': <django.forms.models.ModelChoiceField object>}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

class tcms.rpc.api.forms.management.ClassificationForm(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: ModelForm

class Meta[source]

Bases: object

fields = '__all__'
model

alias of Classification

base_fields = {'name': <django.forms.fields.CharField object>}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

class tcms.rpc.api.forms.management.ComponentForm(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: ModelForm

class Meta[source]

Bases: object

fields = '__all__'
model

alias of Component

base_fields = {'description': <django.forms.fields.CharField object>, 'initial_owner': <django.forms.models.ModelChoiceField object>, 'initial_qa_contact': <django.forms.models.ModelChoiceField object>, 'name': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

class tcms.rpc.api.forms.management.ComponentUpdateForm(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: UpdateModelFormMixin, ComponentForm

base_fields = {'description': <django.forms.fields.CharField object>, 'initial_owner': <django.forms.models.ModelChoiceField object>, 'initial_qa_contact': <django.forms.models.ModelChoiceField object>, 'name': <django.forms.fields.CharField object>, 'product': <django.forms.models.ModelChoiceField object>}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

class tcms.rpc.api.forms.management.ProductForm(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: ModelForm

class Meta[source]

Bases: object

fields = '__all__'
model

alias of Product

base_fields = {'classification': <django.forms.models.ModelChoiceField object>, 'description': <django.forms.fields.CharField object>, 'name': <django.forms.fields.CharField object>}
declared_fields = {}
property media

Return all media required to render the widgets on this form.