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
def create_db():
"""Create the database."""
"""Create the database."""
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
app.config.DEBUG = True
manager.run()

Loading…
Cancel
Save