admin based on bootstrap, thanks Paolo
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
from gluon.dal import PostgreSQLAdapter
|
||||
db = DAL()
|
||||
db.define_table('test',Field('name'))
|
||||
db._adapter.close()
|
||||
db._adapter = PostgreSQLAdapter(db,'postgres://a:b@example.com/demo',do_connect=False)
|
||||
print db(db.test)._select()
|
||||
Reference in New Issue
Block a user