Answer the question
In order to leave comments, you need to log in
How does flask.g work?
Hello everyone Plz tell me the features
of
flask.g, namely where the "id records" are
stored I fasten the authorization on the site, using current_user I add the current user to g:
g.user = current_user
when registering). So I do not quite understand where flask stores this number, it seems like flask.g stores data only during the validity period of the request.
Explain plz who knows how
thank you
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question