tcms.bugs.forms module¶
- class tcms.bugs.forms.BugCommentForm(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:
Form
- base_fields = {'bug': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>}¶
- declared_fields = {'bug': <django.forms.models.ModelChoiceField object>, 'text': <django.forms.fields.CharField object>}¶
- property media¶
Return all media required to render the widgets on this form.
- class tcms.bugs.forms.NewBugForm(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 = ['summary', 'assignee', 'reporter', 'product', 'version', 'build', 'severity']¶
- base_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'build': <django.forms.models.ModelChoiceField object>, 'product': <django.forms.models.ModelChoiceField object>, 'reporter': <django.forms.models.ModelChoiceField object>, 'severity': <django.forms.models.ModelChoiceField object>, 'summary': <django.forms.fields.CharField object>, 'text': <django.forms.fields.CharField object>, 'version': <django.forms.models.ModelChoiceField object>}¶
- declared_fields = {'assignee': <tcms.core.forms.fields.UserField object>, 'text': <django.forms.fields.CharField object>}¶
- property media¶
Return all media required to render the widgets on this form.