tcms.core.contrib.linkreference.forms module

Define forms for each request for validating request arguments

class tcms.core.contrib.linkreference.forms.AddLinkReferenceForm(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

Validate the argument within the request for adding new link

base_fields = {'name': <django.forms.fields.CharField object at 0x7fcb2e78b588>, 'target_id': <django.forms.fields.IntegerField object at 0x7fcb2e78b4a8>, 'url': <tcms.core.forms.fields.StripURLField object at 0x7fcb2e78b6a0>}
declared_fields = {'name': <django.forms.fields.CharField object at 0x7fcb2e78b588>, 'target_id': <django.forms.fields.IntegerField object at 0x7fcb2e78b4a8>, 'url': <tcms.core.forms.fields.StripURLField object at 0x7fcb2e78b6a0>}
media