You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use:
Python 2.7
Django 1.9
DRF 3.2.2
Pandas 0.17.1
And i have this problem:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 350, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 324, in execute
django.setup()
File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/dist-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 "build/bdist.linux-x86_64/egg/rest_pandas/__init__.py", line 1, in <module>
File "build/bdist.linux-x86_64/egg/rest_pandas/views.py", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 98, in <module>classAPIView(View):
File "/usr/local/lib/python2.7/dist-packages/rest_framework/views.py", line 103, in APIView
authentication_classes = api_settings.DEFAULT_AUTHENTICATION_CLASSES
File "/usr/local/lib/python2.7/dist-packages/rest_framework/settings.py", line 203, in __getattr__
val = perform_import(val, attr)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/settings.py", line 148, in perform_importreturn [import_from_string(item, setting_name) for item in val]
File "/usr/local/lib/python2.7/dist-packages/rest_framework/settings.py", line 160, in import_from_string
module = importlib.import_module(module_path)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module__import__(name)
File "/usr/local/lib/python2.7/dist-packages/rest_framework/authentication.py", line 13, in <module>from rest_framework.authtoken.models import Token
File "/usr/local/lib/python2.7/dist-packages/rest_framework/authtoken/models.py", line 16, in <module>classToken(models.Model):
File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 94, in __new__
app_config = apps.get_containing_app_config(module)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 239, in get_containing_app_configself.check_apps_ready()
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 124, in check_apps_readyraise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
The text was updated successfully, but these errors were encountered:
I use:
Python 2.7
Django 1.9
DRF 3.2.2
Pandas 0.17.1
And i have this problem:
The text was updated successfully, but these errors were encountered: