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

not working with django>=1.9 #136

Open
nazmulhasan85 opened this issue Nov 23, 2016 · 3 comments
Open

not working with django>=1.9 #136

nazmulhasan85 opened this issue Nov 23, 2016 · 3 comments

Comments

@nazmulhasan85
Copy link

I am going to upgrade my django project form django=1.8.13 to django=1.10.3 but its failed and showing errors

Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 350, in execute_from_command_line utility.execute() File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 324, in execute django.setup() File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/apps/config.py", line 90, in create module = import_module(entry) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/provider/oauth2/__init__.py", line 1, in <module> import backends File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/provider/oauth2/backends.py", line 2, in <module> from .forms import ClientAuthForm, PublicPasswordGrantForm File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/provider/oauth2/forms.py", line 10, in <module> from .models import Client, Grant, RefreshToken File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/provider/oauth2/models.py", line 23, in <module> class Client(models.Model): File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/db/models/base.py", line 94, in __new__ app_config = apps.get_containing_app_config(module) File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config self.check_apps_ready() File "/home/nazmul/PycharmProjects/django_auth/local/lib/python2.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.

@Dishant15
Copy link

Any updates on this issue? Django 1.10 is out now and generates same error when adding 'provider.oauth2' in installed apps.

@Sudo-Kid
Copy link

This project has not been updated for 3 years. I don't think its going to happen.

@nazmulhasan85
Copy link
Author

nazmulhasan85 commented Jan 16, 2017

Yes! I also agree with you @the-kid89 . You can go for an alternative django-oauth-provider @Dishant15

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