diff --git a/django_q/core.py b/django_q/core.py index 679da63..6f960c7 100644 --- a/django_q/core.py +++ b/django_q/core.py @@ -383,8 +383,8 @@ class Status(object): class Stat(Status): - def __init__(self, sentinel, message=None): - super().__init__(sentinel.parent_pid) + def __init__(self, sentinel, message=None): + super(Stat, self).__init__(sentinel.parent_pid) if message: sentinel.status = message self.tob = sentinel.tob diff --git a/pytest.ini b/pytest.ini index 8e18a7f..0427527 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,3 @@ [pytest] DJANGO_SETTINGS_MODULE=django_q.tests.settings +django_find_project = false \ No newline at end of file