lmolteno / nsn

NCEA Standards Navigator
https://www.notion.so/Fast-access-NZQA-d4f21847f9174bc2954bd6a3e8205363
1 stars 1 forks source link

API Crashes whenever _any_ malformed request is sent #38

Closed lmolteno closed 3 years ago

lmolteno commented 3 years ago

This is the biggest bug of all.

lmolteno commented 3 years ago

Turns out I just needed to add autocommit = True, to end each transaction before the errors carried over into new transactions