Skip to content

Need help #587

Answered by jowilf
ps96068 asked this question in Q&A
Oct 7, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can create a base view for all your views and override the title method

something like

class MyModelBaseView (sqla.ModelView):

      def title(self, request):
              return f"welcome {request.state.user.name}" 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ps96068
Comment options

Answer selected by ps96068
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants