이렇게 장고/MongoDB를 설치하고 구성했습니다!오류 : django_mongodb_engine.base 모듈이 없습니다.
//github.com/django-nonrel/mongodb-engine을설치 PIP VIRTUALENV
소스에 MyProject/빈/
가 HG + HTTPS를 설치 픽처 인 픽처 활성화 : HG + HTTPS를 설치 PIP
//bitbucket.org/wkornewald/django-nonrel : //bitbucket.org/wkornewald/djangotoolbox
자식 + https를 설치 PIP :
이러한 모든 작업은 성공적입니다. 분명히
Error was: No module named django_mongodb_engine.base
성공적으로 설치 한 django_mongodb_engine :
DATABASES = {
'default': {
'ENGINE': 'django_mongodb_engine', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'mong_db', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
마음 절곡 오류가 발생 :이 방법은 같은 settings.py 파일을 변경 이제
. 하지만 왜이 오류가 나타 납니까?
btw, 내 불쌍한 영어를 용서하십시오!