How to properly fix the errors you get when integrating async jobs (rq, celery etc) with your database in Djang