Package oauth2client :: Module django_orm :: Class FlowField
[hide private]
[frames] | no frames]

Class FlowField

source code


Nested Classes [hide private]
  __metaclass__
A metaclass for custom Field subclasses.
Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_internal_type(self) source code
 
to_python(self, value)
Converts the input value into the expected Python data type, raising django.core.exceptions.ValidationError if the data can't be converted.
source code
 
get_db_prep_value(self, value, connection, prepared=False)
Returns field's value prepared for interacting with the database backend.
source code
 
contribute_to_class(self, cls, name)

Inherited from django.db.models.fields.Field: __cmp__, __deepcopy__, __repr__, bind, clean, db_type, formfield, get_attname, get_attname_column, get_cache_name, get_choices, get_choices_default, get_db_prep_lookup, get_db_prep_save, get_default, get_flatchoices, get_prep_lookup, get_prep_value, 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__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

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

Properties [hide private]

Inherited from django.db.models.fields.Field: choices, description, 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)

get_internal_type(self)

source code 
Overrides: django.db.models.fields.Field.get_internal_type

to_python(self, value)

source code 

Converts the input value into the expected Python data type, raising
django.core.exceptions.ValidationError if the data can't be converted.
Returns the converted value. Subclasses should override this.

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

get_db_prep_value(self, value, connection, prepared=False)

source code 
Returns field's value prepared for interacting with the database
backend.

Used by the default implementations of ``get_db_prep_save``and
`get_db_prep_lookup```

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

contribute_to_class(self, cls, name)

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