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

Class CredentialsField

source code


Nested Classes [hide private]
  __metaclass__
A metaclass for custom Field subclasses.
Instance Methods [hide private]
 
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__, __init__, bind, 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_validator_unique_lookup_type, has_default, pre_save, save_form_data, set_attributes_from_name, value_from_object, value_to_string

Inherited from django.db.models.fields.Field (private): _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.Field: auto_creation_counter, creation_counter, empty_strings_allowed

Properties [hide private]

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

Inherited from object: __class__

Method Details [hide private]

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