lilspikey / django-background-task

A database-backed work queue for Django
BSD 3-Clause "New" or "Revised" License
107 stars 200 forks source link

db_exec_type #11

Open jdoavila opened 9 years ago

jdoavila commented 9 years ago

Hi, I have this error, I'm using Django 1.7 db_exc_type = getattr(self.wrapper.Database, dj_exc_type.name) AttributeError: 'DatabaseWrapper' object has no attribute 'Database'

That happened when I create the Task

lilspikey commented 9 years ago

Do you have the full stack trace for that? That looks like code from in Django itself.

I suspect this is to do with how I'm handling transactions, which I believe has changed in Django 1.7. I've not yet tested this with Django 1.7, so it's not entirely surprising if it doesn't work.

cheers,

John