tcms.testruns.forms module

class tcms.testruns.forms.NewRunForm(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', 'cc')
model

alias of tcms.testruns.models.TestRun

base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'case': <django.forms.models.ModelMultipleChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'plan': <django.forms.models.ModelChoiceField object>, 'planned_start': <tcms.rpc.api.forms.DateTimeField object>, 'planned_stop': <tcms.rpc.api.forms.DateTimeField object>, 'product': <django.forms.models.ModelChoiceField object>, 'start_date': <tcms.rpc.api.forms.DateTimeField object>, 'stop_date': <tcms.rpc.api.forms.DateTimeField object>, 'summary': <django.forms.fields.CharField object>}
declared_fields = {'case': <django.forms.models.ModelMultipleChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'planned_start': <tcms.rpc.api.forms.DateTimeField object>, 'planned_stop': <tcms.rpc.api.forms.DateTimeField object>, 'product': <django.forms.models.ModelChoiceField object>, 'start_date': <tcms.rpc.api.forms.DateTimeField object>, 'stop_date': <tcms.rpc.api.forms.DateTimeField object>}
media
populate(plan_id)[source]
class tcms.testruns.forms.SearchRunForm(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

fields = '__all__'
model

alias of tcms.testruns.models.TestRun

base_fields = {'build': <django.forms.models.ModelChoiceField object>, 'cc': <django.forms.models.ModelMultipleChoiceField object>, 'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'notes': <django.forms.fields.CharField object>, 'plan': <django.forms.models.ModelChoiceField object>, 'planned_start': <django.forms.fields.DateTimeField object>, 'planned_stop': <django.forms.fields.DateTimeField object>, 'product': <django.forms.models.ModelChoiceField object>, 'running': <django.forms.fields.IntegerField object>, 'start_date': <django.forms.fields.DateTimeField object>, 'stop_date': <django.forms.fields.DateTimeField object>, 'summary': <django.forms.fields.CharField object>, 'tag': <django.forms.models.ModelMultipleChoiceField object>, 'version': <django.forms.models.ModelChoiceField object>}
declared_fields = {'default_tester': <tcms.core.forms.fields.UserField object>, 'manager': <tcms.core.forms.fields.UserField object>, 'product': <django.forms.models.ModelChoiceField object>, 'running': <django.forms.fields.IntegerField object>, 'version': <django.forms.models.ModelChoiceField object>}
media
populate(product_id=None)[source]