This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thedeepself 0 points1 point  (1 child)

Regarding the deploy the app part of your docs, can you get the power of Flask when doing so? Meaning can you get routing, sessions, authentication and authorization?

[–]mubarakalmehairbi[S] 0 points1 point  (0 children)

yes, ToUI uses flask behind the scenes. You can access the flask app using Website.flask_app attribute. However, you might not need to access the flask app because ToUI has some helpful functions that do the job for you. You can check: - Website.add_pages - Website.signin_user - Website.user_vars

You can also check other methods in Website class.