We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ImportError: cannot import name execute_manager
When attempting to try the stable version as per the wiki:
% python manage.py syncdb Traceback (most recent call last): File "manage.py", line 2, in <module> from django.core.management import execute_manager ImportError: cannot import name execute_manager
execute_manager is deprecated in newer versions of Django.
execute_manager
The text was updated successfully, but these errors were encountered:
Replace the contents of manage.py with the following (from a new django 1.6 project). #!/usr/bin/env python import os import sys
if name == "main": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
Courtesy of stack! http://stackoverflow.com/questions/18048232/satchmo-clonesatchmo-py-importerror-cannot-import-name-execute-manager#19993247
Sorry, something went wrong.
No branches or pull requests
When attempting to try the stable version as per the wiki:
execute_manager
is deprecated in newer versions of Django.The text was updated successfully, but these errors were encountered: