Package expedient :: Package common :: Package utils :: Module modelfields :: Class LimitedIntegerField
[hide private]
[frames] | no frames]

Class LimitedIntegerField

source code


An IntegerField with min and max values.

Nested Classes [hide private]

Inherited from django.db.models.fields.Field: __metaclass__

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
formfield(self, **kwargs)
Returns a django.forms.Field instance for this database Field.
source code
 
db_type(*args, **kwargs)
 
get_db_prep_lookup(*args, **kwargs)
 
get_db_prep_save(*args, **kwargs)
 
get_db_prep_value(*args, **kwargs)

Inherited from django.db.models.fields.IntegerField: get_internal_type, get_prep_lookup, get_prep_value, to_python

Inherited from django.db.models.fields.Field: __cmp__, __deepcopy__, bind, clean, contribute_to_class, get_attname, get_attname_column, get_cache_name, get_choices, get_choices_default, get_default, get_flatchoices, get_validator_unique_lookup_type, has_default, pre_save, run_validators, save_form_data, set_attributes_from_name, validate, value_from_object, value_to_string

Inherited from django.db.models.fields.Field (private): _description, _get_choices, _get_flatchoices, _get_val_from_obj

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

Class Variables [hide private]

Inherited from django.db.models.fields.IntegerField: default_error_messages, description, empty_strings_allowed

Inherited from django.db.models.fields.Field: auto_creation_counter, creation_counter, default_validators

Properties [hide private]

Inherited from django.db.models.fields.Field: choices, flatchoices, unique

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

formfield(self, **kwargs)

source code 

Returns a django.forms.Field instance for this database Field.

Overrides: django.db.models.fields.Field.formfield
(inherited documentation)

db_type(*args, **kwargs)

 
Overrides: django.db.models.fields.Field.db_type

get_db_prep_lookup(*args, **kwargs)

 
Overrides: django.db.models.fields.Field.get_db_prep_lookup

get_db_prep_save(*args, **kwargs)

 
Overrides: django.db.models.fields.Field.get_db_prep_save

get_db_prep_value(*args, **kwargs)

 
Overrides: django.db.models.fields.Field.get_db_prep_value