Browse Source

enable debug when using manage.py

master
Julio Biason 11 years ago
parent
commit
1784b05281
  1. 3
      manage.py

3
manage.py

@ -12,8 +12,9 @@ manager = Manager(app)
@manager.command @manager.command
def create_db(): def create_db():
"""Create the database.""" """Create the database."""
if __name__ == '__main__': if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)
app.config.DEBUG = True
manager.run() manager.run()

Loading…
Cancel
Save