1👍
✅
For those of you also looking for this answer, I’ve figured it out. The stored procedure code you’ll find in Google is based around retrieving data not modifying it. My stored procedure is designed to modify. I found my answer looking at the django documentation for raw sql queries. https://docs.djangoproject.com/en/1.5/topics/db/sql/ There it stated that if you want your sql to modify something on the database you must add a transaction.commit, like so:
cur.callproc('liquorDB.Test_scheduler')
transaction.commit_unless_managed()
👤RuSs
Source:stackexchange.com