raise PLCInvalidArgument, "%s: date must be in the future"%human
return human
- @classmethod
def add_object(self, classobj, join_table, columns = None):
"""
Returns a function that can be used to associate this object
self.api.db.commit()
return add
-
- @classmethod
+
+ add_object = classmethod(add_object)
+
def remove_object(self, classobj, join_table):
"""
Returns a function that can be used to disassociate this
return remove
+ remove_object = classmethod(remove_object)
+
def db_fields(self, obj = None):
"""
Return only those fields that can be set or updated directly