Skip to content
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

provider.oauth2 seems not to appear when added from pip on settings.py #131

Open
ghost opened this issue May 16, 2016 · 4 comments
Open

Comments

@ghost
Copy link

ghost commented May 16, 2016

Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Library/Python/2.7/site-packages/django/core/management/init.py", line 350, in execute_from_command_line
utility.execute()
File "/Library/Python/2.7/site-packages/django/core/management/init.py", line 324, in execute
django.setup()
File "/Library/Python/2.7/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/Library/Python/2.7/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/Library/Python/2.7/site-packages/provider/oauth2/init.py", line 1, in
import backends
File "/Library/Python/2.7/site-packages/provider/oauth2/backends.py", line 2, in
from .forms import ClientAuthForm, PublicPasswordGrantForm
File "/Library/Python/2.7/site-packages/provider/oauth2/forms.py", line 10, in
from .models import Client, Grant, RefreshToken
File "/Library/Python/2.7/site-packages/provider/oauth2/models.py", line 23, in
class Client(models.Model):
File "/Library/Python/2.7/site-packages/django/db/models/base.py", line 94, in new
app_config = apps.get_containing_app_config(module)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
self.check_apps_ready()
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

@sanderroosendaal
Copy link

Same symptom here.

@ghost
Copy link

ghost commented Nov 24, 2016

same here

@horriblyUnpythonic
Copy link

Same

@RahulDwiwedi
Copy link

getting same error .....plz help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants