Error:
python django ImportError: cannot import name execute_manager
Fix:
a)
Remove following lines from manage.py
from django.core.management import execute_manager
b)
Then add following lines from manage.py
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
python django ImportError: cannot import name execute_manager
Fix:
a)
Remove following lines from manage.py
from django.core.management import execute_manager
b)
Then add following lines from manage.py
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Good article,download plugin premium in here,klik
ReplyDelete