Open vindarel opened 7 years ago
@vindarel a few questions. What's the backend your using? Did you start all services?
What I can see from the error message it looks like you have a models.Task class
I'm using django's orm as cluster and cache. (and… services ?)
Maybe I have a django extension with a Task class ? (django-extensions
). Will look into these then. edit: didn't find.
According to this SO thread, the pb may arise with two different kind of imports: from django_q.models import Task
(like in signals.py) along with from .models import Task
(init.py).
btw there is an interesting discussion in this old django bug report: https://code.djangoproject.com/ticket/22280#ticket and maybe particularly comment 13.
Hi ! So I'm trying to get my head around this package. I wrote an async call, following your doc (which is great !). Nothing happens, so I add
sync=True
and bam, I get this stacktrace:stacktrace:
My app runs well with
django-q
installed, only sync=True will fire this.Can I give you more info ? On my side, I checked that I don't have a model called
Task
. I saw animport *
in my models'__init__.py
, which I tried to remove with no different result.Django 1.8, Python2.7, django-q latest from pypi, 0.7.18
Any idea ? Thanks !
ps: is there special debugging methods ? Looks like I won't fall into my
ipdb.set_prompt
.