Package couchdbkit :: Package ext :: Package django :: Module loading :: Class CouchdbkitHandler
[hide private]
[frames] | no frames]

Class CouchdbkitHandler

source code

object --+
         |
        CouchdbkitHandler

The couchdbkit handler for django

Instance Methods [hide private]
 
__init__(self, databases)
initialize couchdbkit handler with COUCHDB_DATABASES settings
source code
 
sync(self, app, verbosity=2)
used to sync views of all applications and eventually create database.
source code
 
get_db(self, app_label, register=False)
retrieve db session for a django application
source code
 
register_schema(self, app_label, *schema)
register a Document object
source code
 
get_schema(self, app_label, schema_name)
retriev Document object from its name and app name
source code

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

Class Variables [hide private]
  __shared_state__ = dict(_databases= {}, app_schema= SortedDict())
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, databases)
(Constructor)

source code 

initialize couchdbkit handler with COUCHDB_DATABASES settings

Overrides: object.__init__