SOLVED.
I'm terribly sorry. It was my mistake.
The reason for all these problems was that I had made a "lazy" backup of
the old model file in a sub-folder, and it was also being interpreted, at:
models/_versions/tab_9may2018.py
I just found this looking at administrative interface.
It's a
Have you compiled the app? If not, not sure what could be going on. Feel
free to pack and attach a minimal app that reproduces the problem (will
have to be with SQLite).
Anthony
On Wednesday, May 16, 2018 at 10:54:27 AM UTC-4, Luís Guilherme F wrote:
>
> Anthony,
> What I see are only the two
Now I've dropped the table and deleted the "define_table" command in
models/db.py.
Nevertheless, table 'mercado' is still listed in appadmin console's table
list.
But when I click on it I get an error with a long Traceback which ends with:
File "/opt/web2py/gluon/contrib/pymysql/err.py", line
Here's the output of the Query db.mercado.id>0 :
mercado.id mercado.cod_m mercado.nome
136 5 Beira Litoral
137 7 Alentejo
138 8 Entre Douro e...
139 14 Centro (Aveir...
140 15 Norte (Viseu)
141 16 Oeste
Luís
On Wednesday, 16 May 2018 15:54:27 UTC+1, Luís Guilherme F wrote:
>
> Anthony,
> What I
Anthony,
What I see are only the two first columns (cod_m, nome), on a table query
on appadmin (database administration).
The two new columns (regiao, tipo) are not shown.
Thank you
Luís
On Wednesday, 16 May 2018 14:51:41 UTC+1, Anthony wrote:
>
> It's not quite clear what the current problem
It's not quite clear what the current problem is. Are you getting an error?
What do you see, and what are you expecting instead?
On Wednesday, May 16, 2018 at 9:20:23 AM UTC-4, Luís Guilherme F wrote:
>
> Hello,
> I had a table with two fields. My app was fine.
> Then I added two more but
6 matches
Mail list logo