-
Notifications
You must be signed in to change notification settings - Fork 61
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
AttributeError: 'Flask' object has no attribute 'before_first_request'. #36
Comments
I dont think this Flask-RBAC package will be updated. Warining that in Flask 2.4.x will remove more deprecated code that is used in this Package. |
That is incorrect. The recommendation is to move configuration code to the setup phase of the application. |
In this case, should we mark the entire package as deprecated? |
I ran into this issue as well. Copying Hokanosekai's code into venv worked locally for me. |
It seems that
flask_rbac
is using deprecated API.before_first_request
is no longer supported.The text was updated successfully, but these errors were encountered: