couchdb-pythonviews
couchdb-pythonviews copied to clipboard
validation handler
trafficstars
This is probably dependent on the version of couch but the validation handler is throwing an exception because it is passed 6 args instead of 5--the sixth arg is the security obj. def validate_handler(self, func_string, new, old, user): should be changed to def validate_handler(self, func_string, new, old, user, sec_obj): for example. (I'm using Couchdb 1.1.0)