myconf is an instance of AppConfig from gluon.contrib.appconfig, which reads configuration data from a configuration file. See the highlighted areas at http://web2py.com/books/default/chapter/29/01/introduction?search=appconfig.
Anthony On Thursday, January 19, 2017 at 2:34:54 PM UTC-5, Andrea Fae' wrote: > > Can anyone explain exatly this? > db = DAL(myconf.get('db.uri'), > pool_size=myconf.get('db.pool_size'), > migrate_enabled=myconf.get('db.migrate'), > check_reserved=['all']) > -- 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.