class documentation

class PKOnlyObject: (source)

View In Hierarchy

This is a mock object, used for when we only need the pk of the object instance, but still want to return an object with a .pk attribute, in order to keep the same interface as a regular model instance.

Method __init__ Undocumented
Method __str__ Undocumented
Instance Variable pk Undocumented
def __init__(self, pk): (source)

Undocumented

def __str__(self): (source)

Undocumented

Undocumented