Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flask.ext is now deprecated (Flask 0.11) #108

Closed
kevinvalk opened this issue Jun 29, 2016 · 1 comment
Closed

flask.ext is now deprecated (Flask 0.11) #108

kevinvalk opened this issue Jun 29, 2016 · 1 comment

Comments

@kevinvalk
Copy link

New (really it is an old way) to import package is done using flask_packagename. Please change from flask.ext import script to import flask_script

flask_assets.py@345

    from flask.ext import script
except ImportError:
    pass
else:
    import argparse
    from webassets.script import GenericArgparseImplementation, CommandError

Sources
pallets/flask#1182
pallets/flask#1484
pallets/flask#1135

@kevinvalk
Copy link
Author

Sorry, this has already been fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant