This is more of a documentation and commitment thing - it's almost possible to use the extension on a Blueprint as-is, by simply doing SSLify(my_blueprint) and working around the app.debug issue.
That seems to be a good usecase for the future (for example it may be convenient to only protect an admin area blueprint instead of the whole site).
There's not official API for extending blueprints that I know of. Maybe adding an init_blueprint() method would be a way to go?
This is more of a documentation and commitment thing - it's almost possible to use the extension on a Blueprint as-is, by simply doing
SSLify(my_blueprint)
and working around the app.debug issue.That seems to be a good usecase for the future (for example it may be convenient to only protect an admin area blueprint instead of the whole site).
There's not official API for extending blueprints that I know of. Maybe adding an init_blueprint() method would be a way to go?