quart equivalent of flask.sansio.scaffold #393
-
Hey Quart folks! Im really impressed with the repo so far :) I find it to be super easy to navigate and reason with. The docs have also been great My main question that I'm still struggling with is how people have migrated At the moment, I have a project that is subclassing the scaffold class and overriding
And then my blueprint uses this:
I use this to plug in my custom authentication logic as well as adding headers for certain situations. Before flask 2.0.0 was released, I used Im curious what the community thinks of the migration here:
Thanks for any insights. Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You're not supposed to use scaffold at all, it's internal. Flask and Quart use it, you should be using their app and blueprint classes. |
Beta Was this translation helpful? Give feedback.
You're not supposed to use scaffold at all, it's internal. Flask and Quart use it, you should be using their app and blueprint classes.