Skip to content
New issue

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

No module named django #28

Open
benzid-wael opened this issue Nov 10, 2015 · 0 comments
Open

No module named django #28

benzid-wael opened this issue Nov 10, 2015 · 0 comments

Comments

@benzid-wael
Copy link

I'm trying to install django-nonrel with mongodb support, below installed packages

git+https://github.com/django-nonrel/[email protected]
git+https://github.com/django-nonrel/djangotoolbox  # v1.8.0
git+https://github.com/django-nonrel/mongodb-engine  # v0.6.0
pymongo==3.1
mongoadmin==0.2
mongodbforms==0.3
mongoengine==0.10.0

and my settings file is as follow:

INSTALLED_APPS = (
    # 'django.contrib.admin',
    # 'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'djangotoolbox',
)

and for db settings:

DATABASES = {
   'default' : {
      'ENGINE' : 'django_mongodb_engine',
      'NAME' : 'mydb',
      'HOST': 'mongo'
   }
}

When I run manage.py syncdb, I got this error:

NotImplementedError: subclasses of BaseDatabaseIntrospection may require a get_table_list() method

and if I run manage.py without specifying any command, I got:

ImportError: No module named django

However django is installed and the pythonpath is properely configured

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant