开发者

What is the Pylons equivalent of Django's 'syncdb'?

开发者 https://www.devze.com 2023-01-09 00:10 出处:网络
Short and sweet question: I\'ve inherited a Pylons site with a bunch of models. If it was 开发者_JS百科Django I would simply run \'syncdb\' to set up a local database. What is the equivalent in Pylon

Short and sweet question:

I've inherited a Pylons site with a bunch of models. If it was 开发者_JS百科Django I would simply run 'syncdb' to set up a local database. What is the equivalent in Pylons?


Maybe you're looking for paster setup-app development.ini (replace development.ini with your actual configuration file).

This will go through your websetup.py file, which should create your tables if the project was started answering True to the question about using SQLAlchemy.

0

精彩评论

暂无评论...
验证码 换一张
取 消