Routing queries with flask #4199
Unanswered
ayushkhanduri
asked this question in
Q&A
Replies: 1 comment 1 reply
-
No, it doesn't make sense to decorate class methods with
I'm not sure what you mean. Yes, you can write whatever views you want. Using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi , I am currently working with flask and I am confused about how the routing works in this microframework. I have collected a few questions.
Can you use @app.route on Class Methods instead of just functions?
can I write custom views using the MethodView approach?
eg for an user entity , ‘user/findUserByEmail’.
Beta Was this translation helpful? Give feedback.
All reactions