flask-social-example icon indicating copy to clipboard operation
flask-social-example copied to clipboard

manage.py - ImportError: cannot import name create_app

Open logicalicy opened this issue 8 years ago • 0 comments

I cloned the repo and attempted python manage.py but this resulted in:

ImportError: cannot import name create_app

Should the following in manage.py:

from app import create_app
manager = Manager(create_app())

...in fact be this?

from app import app
manager = Manager(app)

logicalicy avatar Jun 25 '16 19:06 logicalicy