Fiedzia / Fang-of-Mongo

web based gui for mongodb created with pyhon, django and jquery.
http://linuxcoder.co.uk:8000/fangofmongo/
Other
260 stars 61 forks source link

ImportError: cannot import name execute_manager #27

Open TimoRiikonen opened 9 years ago

TimoRiikonen commented 9 years ago

Root cause: This project is very old and not maintained any more. In other words scrap it and look for something else.

If you still want to use this, you need to use an earlier Django version than 1.4: execute_manager deprecated in Django 1.4 as part of the project layout refactor and was removed in 1.6 per the deprecation timeline: https://docs.djangoproject.com/en/1.4/internals/deprecation/#id3

To fix this error you should either install a compatible version of Django for the project or update the manage.py to new style which does not use execute_manager: https://docs.djangoproject.com/en/1.4/releases/1.4/#updated-default-project-layout-and-manage-py Most likely if your manage.py is not compatible with 1.6 then neither is the rest of the project. You should find the appropriate Django version for the project.

whutjs commented 7 years ago

Hi, TimoRiikonen, Is there any requirements for the version of python?

TimoRiikonen commented 7 years ago

Hi, sorry but I don't remember and I don't have this environment any more easily reachable, so I don't have any answer to you.

AysadKozanoglu commented 7 years ago

First start failure on a fresh installed Debian 8.8 64bit

./manage.py runserver

Traceback (most recent call last): File "./manage.py", line 2, in from django.core.management import execute_manager ImportError: cannot import name execute_manager

my python version Python 3.4.2

django version: django-admin --version 1.7.11

AysadKozanoglu commented 7 years ago

also dont work on ubuntu 16.04 fresh installed same like above

<< Traceback (most recent call last): File "./manage.py", line 2, in from django.core.management import execute_manager ImportError: cannot import name execute_manager

TimoRiikonen commented 7 years ago

Hi, Django version must be 1.3.

Sussan787 commented 1 year ago

Hi dear