I'm trying to test my new plugin by setting some options in db.py, but those values are not preserved by PluginManager when the plugin is initialized at the plugin model. Is it a problem with my code or a PluginManager issue?.
db.py: # auth.enable_record_versioning(db) # add this to your app model file from gluon.tools import PluginManager plugins = PluginManager() # clientapi options # requests are logged by default. Here we disable them plugins.clientapi.log = True # setup makes the client api download any db scheme # and set default values. You can call .setup from custom # JavaScript code. plugins.clientapi.setup = True # a string function name for calling after client setup # this is a convenient shortcut for handling database # definitions upon retrieval. This can also be set with # custom JavaScript. plugins.clientapi.onsetup = None # for other origin requests plugins.clientapi.origin = "*" The plugin model file: http://code.google.com/p/plugin-clientapi/source/browse/models/plugin_clientapi.py System info: web2py trunk Version 2.4.2-stable+timestamp.2013.03.09.00.16.49 Rocket server Ubuntu 12.04 Thanks -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

