Answer the question
In order to leave comments, you need to log in
What is the correct way to separate routes in Flask?
There are routes:
1) /
/login/
/logout/
2) /user/
3) /admin/
I would like to get 3 files ( login.py , user.py, admin.py) with routes and one file to start the run server. py.
How to implement it correctly?
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