P
P
pcdesign2015-08-04 13:53:13
Flask
pcdesign, 2015-08-04 13:53:13

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 question

Ask a Question

731 491 924 answers to any question