Well, as you can see, none of those models have any fields defined, so 
you're not going to see anything in appadmin (the DAL can only access 
fields it knows about). I guess extract_sqlite_model.py didn't work very 
well in this case. You'll have to manually add the appropriate field 
definitions to your models.

Anthony

On Wednesday, April 12, 2017 at 8:04:50 AM UTC-4, ArtDijk wrote:
>
> Hi,
> I use a sqlite db which is build by another pyhton app. The table has 254 
> fields and one id field.
> I define the db via the output of extract_sqlite_model.py (a script of 
> web2py).
> legacy_db = DAL('sqlite://story.sqlite')
>
> legacy_db.define_table('inbox_encrypted',
>     migrate=False)
>
> #--------
> legacy_db.define_table('inbox_decrypted',
>     migrate=False)
>
> #--------
> legacy_db.define_table('form_v1',
>     migrate=False)
>
> Via the addadmin I expect to get a form with the fields. I only see the id 
> field.
> I want the ability to edit some fields in the form.
> Can you tell me what is wrong ?
> Thanks
>
>
>

-- 
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.

Reply via email to