New answers tagged

0

Don't provide multiple methods - methods=('GET', 'POST') only to then check the method: if request.method == 'POST': Instead, separate this into two functions each accepting one method each and remove your if. home is quite long and needs to be subdivided into multiple subroutines. Avoid newline-escapes such as this: balance_query = db_session....


Top 50 recent answers are included