Ask Your Question
2

how to assign database for new tables.py

asked 2015-05-05 04:29:27 -0500

ispot gravatar image

updated 2015-05-05 04:57:27 -0500

SGPJ gravatar image

I created a new dashboard and panel by command.And it worked to display.Then I created a tables.py followed by the instructions.But here is the problem.How to assign the database for the new tables.py.And how to sync database?Then after sync db is over,is there a method I can retrieve the data?

Thanks a lot.

edit retag flag offensive close merge delete

Comments

Anyone knows how to do this?Thanks.

ispot gravatar imageispot ( 2015-05-06 18:27:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-07 08:56:42 -0500

ispot gravatar image

updated 2015-05-07 08:57:13 -0500

Can anyone tell me what is the connection between tables.py and sqlalchemy's models.py?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-05 04:29:27 -0500

Seen: 97 times

Last updated: May 07 '15