Are you starting the shell with the `-S application-name` option? Take a
look at the command line options for web2py:
http://web2py.com/books/default/chapter/29/04/the-core#Command-line-options
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Fri, 18-11-2016 12:35 AM, Divyanshu Srivastava wrote:
Hi !
I'm just getting started with web2py
in db.py
db = DAL(myconf.get('db.uri'),
pool_size=myconf.get('db.pool_size'),
migrate_enabled=myconf.get('db.migrate'),
check_reserved=['all'])
and in shell
db is showing none
i've tried
DAL('sqlite://storage.sqlite',pool_size=1,check_reserved=['all'])
Pls help!
--
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 web2py+unsubscr...@googlegroups.com
<mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.