django-background-task icon indicating copy to clipboard operation
django-background-task copied to clipboard

db_exec_type

Open jdoavila opened this issue 10 years ago • 1 comments

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

jdoavila avatar Sep 15 '14 22:09 jdoavila

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

lilspikey avatar Sep 16 '14 08:09 lilspikey