1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| Traceback (most recent call last):
File "./manage.py", line 25, in
execute_from_command_line(sys.argv)
File "/home/vagrant/.virtualenvs/proj/src/django/django/core/management/__init__.py", line 331, in execute_from_command_line
utility.execute()
File "/home/vagrant/.virtualenvs/proj/src/django/django/core/management/__init__.py", line 323, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/vagrant/.virtualenvs/proj/src/django/django/core/management/base.py", line 350, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/vagrant/.virtualenvs/proj/src/django/django/core/management/base.py", line 401, in execute
output = self.handle(*args, **options)
File "/home/vagrant/.virtualenvs/proj/src/django/django/core/management/base.py", line 590, in handle
return self.handle_noargs(**options)
File "/home/vagrant/.virtualenvs/proj/lib/python3.4/site-packages/django_extensions/management/utils.py", line 71, in inner
ret = func(self, *args, **kwargs)
File "/home/vagrant/.virtualenvs/proj/lib/python3.4/site-packages/django_extensions/management/commands/shell_plus.py", line 312, in handle_noargs
shell = func()
File "/home/vagrant/.virtualenvs/proj/lib/python3.4/site-packages/django_extensions/management/commands/shell_plus.py", line 178, in get_plain
imported_objects = import_objects(options, self.style)
File "/home/vagrant/.virtualenvs/proj/lib/python3.4/site-packages/django_extensions/management/shells.py", line 99, in import_objects
from django.db.models.loading import get_models, get_apps
ImportError: No module named 'django.db.models.loading'
|