Rahul
Let's try this a different way.
Attached is a simple multi-tenant app with one table.
Does this do what you need?
1. Create a new project in web2py
2. Replace db.py in your models dir with this one
3. Replace default.py in your controllers dir with this one
4. Replace index.html in vi
with this model (very simplified)
db.define_table('table1',
Field('first_field'
),
format='%(first_field)s'
)
db.define_table('table2',
Field('field_one'
),
Field('field_two','referenc
Hi Dave and Jim,
Please find the files in the zipped archive. I have added
default.py, db.py, index.html and also layout file which I am converting to
use with web2py. called ace.html. I have also attached the views\login.html
file since I am extending this file specifically for logi
There is no module in contrib called "states". Why are you expecting one?
--
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 becaus
4 matches
Mail list logo