Package orm2 :: Module exceptions :: Class NoPrimaryKey
[hide private]
[frames] | no frames]

Class NoPrimaryKey

source code

exceptions.Exception --+    
                       |    
            ORMException --+
                           |
                          NoPrimaryKey

This error is raised if a class does not have a primary key (__primary_key__ == None) but some function requires a primary key.

Instance Methods [hide private]

Inherited from exceptions.Exception: __getitem__, __init__, __str__