-
I started to get this error from all of my blueprints:
Is there a way to fix this? Code from one of my blueprints:
I configured all of my blueprints like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Please include a minimal reproducible example, and include the traceback with the warning. The code you've shown does not demonstrate the error. In general, you fix this in exactly the way that the message describes. Do not call any methods that set up the blueprint, such as registering routes, error handlers, before request functions, etc. after calling |
Beta Was this translation helpful? Give feedback.
Please include a minimal reproducible example, and include the traceback with the warning. The code you've shown does not demonstrate the error.
In general, you fix this in exactly the way that the message describes. Do not call any methods that set up the blueprint, such as registering routes, error handlers, before request functions, etc. after calling
register_blueprint
on it.