On Saturday, February 25, 2012 10:44:55 AM UTC-5, haggis wrote:
>
> When just using "from gluon import *" then Aptana shows me many errors 
> (i.e. dal() and http() not found).
>

Where is your code calling dal() and http() -- neither of those are part of 
the web2py API (instead, there is DAL() and HTTP(), both of which are 
exposed by doing "from gluon import *" and should not cause any Aptana 
errors)? The point is that "from gluon import *" exposes the entire web2py 
API (except for the parts that require explicit importing anyway, such as 
Auth and Crud), so most of the individual imports you were using are simply 
redundant.

Anthony

Reply via email to