When the model is loaded, all files are downloaded in the order their name

my suggestion:

im /moder folder use names:

0_set[tings].py - any settings for application:
from gluon import current
current.PARTNER_MIN = PARTNER_MIN = 10
PARTNER_GO = 77
    

## app configuration made easy. Look inside private/appconfig.ini
from gluon.contrib.appconfig import AppConfig
## once in production, remove reload=True to gain full speed
myconf = AppConfig(reload=True)

DEVELOP = myconf.take('app.develop', cast=bool)
TO_PHONE7_ID = myconf.take('deals.phone7')
if DEVELOP: print '0.py - app.DEVELOP'



3_db.py - all DB setttings
3_db1.py - tables define

6_ses[ssopns].py

9_menu
9_menu1 
...

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to