4

What's the difference between django mongoengine and mongoengine Can i use django default/build-in form mongodb

1 Answer 1

1

Django-mongoengine is a django extension that provides integration with MongoEngine. It is basically like other django-extensions which provides added features.

But MongoEngine is a Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python. As it uses a simple declarative API, similar to the Django ORM, Django-mongoengine make it work with django. But it is exclusively for working with mongodb using python.

Note

If you use only mongodb then, you can't use admin functionality of Django. You can try using django-non rel. But I will not suggest to go with that. Coz it works with Django-1.3 which is quite old.

If you want to use the admin functionality also and mongodb also then you can use 2 databases first the relational one for admin functionality and then mongodb for other purposes.

Sign up to request clarification or add additional context in comments.

8 Comments

so i can't use djagno admin/auth/form while using MongoEngine ?
No, you cant use admin functionality then. You can try using django-non rel. But I will not suggest to go with that. Coz it works with Django-1.3 which is quite old.
If you want to use the admin functionality also and mongodb also then you can use 2 databases first the relational one for admin functionality and then mongodb for other purposes.
wow is it possible to use mysql-djanog in one project. How would the settings.py file look like then. And i have to use django_mongoengine or MongoEngine ?
Yeah it is possible.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.