I find my problem.
I define all my tables in my_table.py models file.
This files is loaded by web2py after the menu.py file.
So category is not know at the moment of menu.py logic is loaded and return
an error.
I define my models logic in a db1.py file now and all is ok
Thanks for your reply
any db.category call must go after db.define_table('category'). Have you
checked it ?
On Friday, September 12, 2014 8:05:27 AM UTC+2, olivier hubert wrote:
>
> I try implement Reddit clone from massimo video (2013 edition), but I have
> a strange problem with the dynamic menu construction part.
2 matches
Mail list logo