-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. #216
Comments
I'm looking for an asynchronous queue that is more suitable than celery but django_q is not available . |
I'm getting the same error with django 1.11, are there any known causes for this problem? |
I'm running Django 1.11 with Django-Q 0.8.0 and have no problems. |
Already fixed it by putting django_q below the app containing the settings and models in the INSTALLED_APPS setting. Maybe add this to the docs? 😄 |
@jeroenbrouwer not sure I understand what you mean. In my settings I have
I even moved the for example:
@qiailin did you every resolve this issue? |
I've got quite an unusual setup for the models which caused the error. I've got a models app which imports the models from several files such that they are easily accessible throughout the whole application. This app needs to be loaded before django_q otherwise I get said error whenever I start django in whichever way possible: runserver, testserver, migrate etc. |
@jeroenbrouwer not sure if we can add anything about this to the documentation. The error is triggered by calling |
@Eagllus I guess that's the case, but I'm failing to understand why the order of the loaded apps in the settings is important then... |
In the
If you try to access an app before |
@Eagllus I know this, just not sure why django-q has to be after my models app in the INSTALLED_APPS list 😉 It's working anyhow and it's doing its job like a charm! |
@jeroenbrouwer I cant tell you without knowing any code 😉 But I'm happy to hear that Django-Q is doing a great job 😄 |
Update to reflect issue Koed00#216
Try activating the virtual env. In my case, using git:source scripts/activate |
* Add twine check * add poetry to install * move up remove black/flake formatting * fix path * fix? * fix rst? * add rstcheck * test all files? * all * remove complaining image * only check readme * remove not needed dependencies
I tried , the django version 1.10a1,1.10.5,1.103
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
help, me ! thanks
The text was updated successfully, but these errors were encountered: