Feature New Macfield
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
34 34 ipv6_template_re = re.compile(r'^(%\([abcd]\)[dxX]|[A-Za-z0-9:-])+$') 35 35 36 36 37 class MACAddressFormField(fields.RegexField): 37 class MACAddressFormField(forms.Field): 38 38 default_error_messages = { 39 'invalid': _(u'Enter a valid MAC address.'), 39 'invalid': _(u'Enter a valid MAC address. %s'), 40 40 } 41 41 42 def __init__(self, *args, **kwargs): 43 super(MACAddressFormField, self).__init__(mac_re, *args, **kwargs) -
-
-
-