Hi,

To get rid of the "undefined variable" warnings in eclipse you can
define names as globals in the preferences.
(Eg to remove the warnings for request, response, db, T, auth, etc...)

Preferences -> PyDev -> Editor -> Code Analysis
Under the "undefined" tab, you find "Consider the following names
global: (comma separated)"

There you can add service,auth,T,response,session,request,db or
whatever.
Doing this seems easier then writing "global request", ... at the top
of all of your controller files.

cheers
/ jonas rundberg





-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to