I'm doing a migrate data of 2 databases with diferents tables.
My only problems is with ids!
table 1
id: 5, name: Diana
id: 8, name: Carlos
when i migrate this data to databases 2
id: 1, name: Diana
id: 2, name: Carlos
Look the id's not the same.
what is the method to save the same id?
I rea
Ok i understand that, but if my service of mysql is SHUTDOWN, i need one
exepction for that! because generate one traceback, and I need handle this,
maybe return one string saying "mysql its shutdown, page 404"
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://
I have one table in my mysql db with name "users" with this:
id - name - email
1 - luis - exam...@gmail.com
2 - steff - he...@gmail.com
the field email is unique in the DAL
Field('email', 'string', length=255, required=True, notnull=True,
unique=True),
when i try to edit the form, I only
I try it, and this don't work :s I get the same traceback :s
I need this for the validation :s
--
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 recei
Good morning, I need handle exceptions when a database can't connect,
When that ocurre, the traceback is:
Traceback (most recent call last):
File "/var/www/web2py/gluon/restricted.py", line 227, in restricted
exec ccode in environment
File "/var/www/web2py/applications/servicios/models/0
5 matches
Mail list logo