couchdb-pythonviews icon indicating copy to clipboard operation
couchdb-pythonviews copied to clipboard

validation handler

Open jgividen opened this issue 14 years ago • 0 comments
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)

jgividen avatar Aug 25 '11 14:08 jgividen