db.commit()?

On Jun 3, 12:19 pm, Francisco <betancourt.franci...@gmail.com> wrote:
> Hi everyone
>
> I have a strange issue with web2py and a mysql db. So far I always
> developed locally in my computer and only uploaded code once
> development was done, and only small modifications were made then. But
> right now I have an app that I'm working on a web server. I have been
> able to add views and controller with no problem. But yesterday I need
> to add a new field to two tables of the db. So I modified the db.py to
> add this fields. The applications is still working. I have forms to
> fill this new fields, and they appear to work, but once you try to
> read them they return None.
>
> I then connected through phpmyadmin and observed that the new columns
> of the db are there, but that the information is not. The thing is
> that web2py raises no exception or error. Can you please help me
> figure out what could possibly be wrong?
>
> By the way all coding has been done through ssh with a command line
> editor, so I was wondering if maybe the web browser interfaces updates
> some other configuration files when the db is modified. Could this be
> the problem?
>
> Thank you.

Reply via email to