Hi,
In my init class have a install() with create table.
When creates second instance, fail.
<type 'exceptions.SyntaxError'> table already defined: mytable Version
web2py™ Version 2.4.6-stable+timestamp.2013.04.06.17.37.38 Python Python
2.7.4: C:\Python27\python.exe (prefix: C:\Python27)
How check is this exists this table?
In this moment, i add
try:
self.install() #create table
except:
pass
thanks!
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.