-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Split app.py
into multiple files
#57
base: main
Are you sure you want to change the base?
Conversation
this probably isn't all, but some is better than none.
Alright, should be ready for review now. |
app.py
into multiple files [WIP]app.py
into multiple files
@@ -375,29 +301,6 @@ def index_page(): | |||
return render_template('index.html', shorts=final_videos, session=session, logged_in = logged_in) | |||
return explore_page() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace with return routes.feeds.explore_page()
Looks like ALL the routes that are not inside |
Looks like "blueprints" are the way to go. |
Don't merge this yet, it still needs a lot of work.
Motivation: https://matrix.to/#/!iTNwpCOMSrSVVqQnDV:fedora.im/$nN45nHs4vfsoMAq65TPmFFDDsFOfVP1sHGOXdXtLbwQ?via=envs.net&via=matrix.org&via=frei.chat