flask extensions not recognised

I'm trying to do

    from flask.ext.auth import AuthUser, login_required

but AuthUser and login_required are marked as unresolved references. I can run the code without error so I know all is ok however I want code completion to work.

I always seem to have this problem with flask extensions.

Please sign in to leave a comment.