Armory8854 / yapm

Yet Another (python) Podcast Manager
GNU General Public License v3.0
0 stars 0 forks source link

Use blueprints properly in main flask python file #2

Open Armory8854 opened 1 year ago

Armory8854 commented 1 year ago

Currently, I am just hardcoding paths and functions for app routes directly into 1 file. I should be using blueprints to make the code more modular & easier to work on.

Armory8854 commented 1 year ago

While not directly related to flask, the main flask directory should only contain 3 py files - those being yapm.py, gunicorn_config.py, and wsgi.py. Any other files, such as just_init.py and both new*.py files should be moved to the flask/bin dir.