Are you inserting values into the database from within the python /
ipython console? If so, perform a db.commit() after the update.
If you are inserting values into the db, while running within the web
application, then it will be good to see the code that you use to do
this. The db.commit() is automatically performed, when running within
the web context.
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Thu, 07-07-2016 4:23 PM, parulshar...@gmail.com wrote:
whenever we are updating values in a database, we encounter previous
values instead of getting updated values.. why is it happing??
--
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
<mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
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.