Bomin
Bomin

Reputation: 1667

Latest django-mongodb-engine

I'm following the guide to setup django-mongodb. But this line pip install git+https://github.com/django-nonrel/[email protected] always reverts my django to 1.5. Is there anyway that I can use lastest django?

Upvotes: 1

Views: 1100

Answers (2)

nesdis
nesdis

Reputation: 1220

The latest django-mongodb-engine is no longer operational. Using mongoengine alone will work only if your project does not use ANY contrib modules like, session, auth, user.

I recently came across another package called djongo. It is working fine on the latest version of Django.

Disclaimer: I have contributed to this package, but i am not trying to promote it anyway. I think it solves most of the Django MongoDB issues that have been around for ages and is extremely easy to use.

Upvotes: 0

Oz Bar-Shalom
Oz Bar-Shalom

Reputation: 1855

That is because django-nonrelis a fork from the original Django project.

You can consider that as a different project. django-nonrel was developed side by side with the original Django project until version 1.6, the last commit for nonrel is 2 years old.

To sum it up, if you want to use django-nonrel it is not recommended and you are limited to latest Django version it supports - 1.6.

The django-nonrel project is dead - If you want to use a NoSQL I will recommend not using Django. There is't any official support for that, and I did not find any on-going projects (third-party) that exist anymore.

pip install git+https://github.com/django-nonrel/[email protected]

Upvotes: 2

Related Questions