Package expedient :: Package common :: Package utils :: Module formfields :: Class IPNetworkField
[hide private]
[frames] | no frames]

Class IPNetworkField

source code


An IP address or prefix field.

Nested Classes [hide private]

Inherited from django.forms.fields.Field: hidden_widget, widget

Instance Methods [hide private]

Inherited from django.forms.fields.CharField: __init__, to_python, widget_attrs

Inherited from django.forms.fields.Field: __deepcopy__, clean, prepare_value, run_validators, validate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  default_error_messages = {'invalid': u'Enter a valid IP addres...
  default_validators = [validators.validate_ip_prefix]

Inherited from django.forms.fields.Field: creation_counter

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

default_error_messages

Value:
{'invalid': u'Enter a valid IP address in "w.x.y.z[/l]" format.'}