in 0.db 
I have : settings.migrate = True

in db.py  I have  db.define_table('auth_user', Field (.....,Field(), ... 
Field...
                                                                 bla bla bla
                                                                .....
                                                                
LAST_Field('...',....),  migrate=settings.migrate)


I moved the other " db.define_table " declarations in  subdirectory files

I am trying to implement and use the conditional models approach ! and the 
tables in the sub directories are not being created when their related 
controller is called upon !

:(

How does that conditional models approach work exactly ..? ... I need a 
good example !

in parallel, I will be using the modules approach for the functions & 
classes associated with each Model / controller .. i simply want to keep my 
models in the MODELS and not move them to modules
 ... modules will have only custom functions and classes, that will be 
called upon ( imported )  by the controllers when needed.

Don


-- 



Reply via email to