nighthawkcoders / flask_2025

This project is a web application for managing Classroom instruction and operations. It is built using Flask, SQLAlchemy, and other requirements.txt dependencies.
https://flask2025.nighthawkcodingsociety.com/
0 stars 6 forks source link

Integrated UPLOAD variable(s) from init.py for PFP code #4

Closed tuckergol closed 2 months ago

tuckergol commented 2 months ago

Made changes to profile picture API file (pfp.py) in order to make use of init.py UPLOAD variables for better overall project consistency. Modified init.py file; changed 'app.instance_path' to 'app.static_folder' since I've been using the 'static' folder for user profile picture management for User Management table rather than the 'instance' folder. Modified utable.html to complement changes and make sure that profile pictures still display correctly.