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

Class DecOrHexIntegerField

source code


Nested Classes [hide private]

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

Instance Methods [hide private]
 
to_python(self, value)
Validates that int() can be called on the input.
source code

Inherited from django.forms.fields.IntegerField: __init__

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

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

Class Variables [hide private]

Inherited from django.forms.fields.IntegerField: default_error_messages

Inherited from django.forms.fields.Field: creation_counter, default_validators

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

to_python(self, value)

source code 

Validates that int() can be called on the input. Returns the result of int(). Returns None for empty values.

Overrides: django.forms.fields.Field.to_python