You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
IPython 5.1.0 not working with Flask-Script 2.0.5 #171
#!/usr/bin/env python
from flask_script import Manager
from app import app
manager = Manager(app)
@manager.shell
def make_shell_context():
""" Creates a python REPL with several default imports
in the context of the app
"""
return dict(app=app)
if __name__ == "__main__":
manager.run()
Activity
SlangingCode commentedon Dec 13, 2016
Here's the manage.py file that I created:
I am running the following command:
python manage.py shell