diff options
author | sudan <sudan@douban.com> | 2016-01-25 19:03:00 +0800 |
---|---|---|
committer | sudan <sudan@douban.com> | 2016-01-25 19:03:00 +0800 |
commit | 459e96e906746e8ca2fb4e33235c4576f2e01541 (patch) | |
tree | fa5fa62ebf195118af9340c23b4d2e9d5e31a77a /manage.py | |
parent | smaller font (diff) | |
download | stackbin-459e96e906746e8ca2fb4e33235c4576f2e01541.tar.gz stackbin-459e96e906746e8ca2fb4e33235c4576f2e01541.tar.bz2 stackbin-459e96e906746e8ca2fb4e33235c4576f2e01541.zip |
remove gunicorn
Diffstat (limited to 'manage.py')
-rw-r--r-- | manage.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ from flask.ext.script import Manager, Server +from flask.ext.script.commands import Clean from pastebin import app, db manager = Manager(app) @@ -16,6 +17,7 @@ def dropdb(): db.drop_all() manager.add_command('server', Server(host='0.0.0.0', port=9200)) +manager.add_command("clean", Clean()) if __name__ == '__main__': |