IntelliJ - Tools - manage Python packages...

понедельник, 7 сентября 2020 г. в 11:27:04 UTC+3, Dmitrii Ermolaev: 

> I use ItelliJ IDEA 2020.2 + 
>
> if make as here:
>
>
> http://web2py.com/books/default/chapter/29/14/other-recipes?search=eclipse#Using-general-purpose-IDEs-with-web2py
>
> but in code:
> from gluon import *   --- see error: Unresolved reference 'gluon' 
>
> Then I Install web2py package - all work OK!
>
> in models/db for erase all syntax errors insert:
> if False:
>     pass
>
> in controllers for erase all syntax errors insert:
> if False: # for IDEA
>     from gluon import *
>     from db import *
>     import auth
>     from menu import *
>     request = current.request
>     response = current.response
>     session = current.session
>     cache = current.cache
>     T = current.T
>     pass
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/5c231c36-c1d1-4b3b-9408-af641afc2a8an%40googlegroups.com.

Reply via email to