El martes, 30 de julio de 2013 18:19:15 UTC-3, D Dan escribiĆ³:
>
> Thanks Alan.
>
> Could you give an example how to share db.py and other function under
> models/ folder (say menu.py) across applications?
>
If you will share models stored in modules, I suppose you can try something
similar to
Thanks Alan.
Could you give an example how to share db.py and other function under
models/ folder (say menu.py) across applications?
On Tuesday, July 30, 2013 12:16:17 PM UTC-7, Alan Etkin wrote:
>
> You can share the schema across different apps by serving and requesting
> it in json or ya
You can share the schema across different apps by serving and requesting it
in json or yaml format:
Is there a way we could share these things (db.py models and modules across
> applications?)
>
> Currently we share databases across applications. IT is a bit tedious to
> copy schema definitions
Is there a way we could share these things (db.py models and modules across
applications?)
Currently we share databases across applications. IT is a bit tedious to
copy schema definitions to many applications.
Thanks
On Sunday, July 28, 2013 1:54:03 AM UTC-7, Massimo Di Pierro wrote:
>
> Abo
>> do I need some additional plugins to hook it up to my existing mysql db
Just write a connection string and table description in your model file -
6th chapter of book describes this.
However in web2py all tables have autoincrement integer primary key called
"id".
This field will be added aut
About your first question you can read Anthony's answer here:
http://stackoverflow.com/questions/17271938/web2py-is-not-starting-with-python-3-0-3-1
Regarding multiple apps/projects web2py is more flexible than Django but we
using a different naming convention.
We call "app" what they call "proje
6 matches
Mail list logo