Package django :: Package contrib :: Package databrowse :: Module datastructures :: Class EasyInstance
[hide private]
[frames] | no frames]

Class EasyInstance

source code

object --+
         |
        EasyInstance

Instance Methods [hide private]
 
__init__(self, easy_model, instance)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code
 
__unicode__(self) source code
 
__str__(self)
str(x)
source code
 
pk(self) source code
 
url(self) source code
 
fields(self)
Generator that yields EasyInstanceFields for each field in this EasyInstance's model.
source code
 
related_objects(self)
Generator that yields dictionaries of all models that have this EasyInstance's model as a ForeignKey or ManyToManyField, along with lists of related objects.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, easy_model, instance)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)