seanlixu / CITS3403-RequestBoard

Job/ service request board project for CITS3403
MIT License
1 stars 0 forks source link

flask_backend_2 notes after reviewing #13

Open SeanLixu23445997 opened 6 months ago

SeanLixu23445997 commented 6 months ago

note: ill be adding more to this issue as I read further, please dont close this.

paulmmaingi commented 6 months ago

For the first dot point, we don't need the app.py file as we have the app directory to better manage each component of our app. Will remove when I create pr for branch I'm working on. The db config should only happen in the config.py.

normit581 commented 6 months ago

Both of these have been fixed. App.py was removed as it was being used as our main file but init.py is now main.

validate_on_submit() is a function of the class FlaskForm in flask_wtf/recaptcha/form.py