using both SQL and NonSql (MondoDB) in same project?

1 view
Skip to first unread message

Bill Seitz

unread,
Sep 27, 2010, 4:43:22 PM9/27/10
to Django users
I know Django will support multiple SQL databases by just having a
tuple of DATABASES entries in settings.py.

But can I put a single item in DATABASES for a SQL part, and a 'from
mongoengine import connect' section in as well?

I'd like to have users/accounts/payments in SQL, and all my main/
messier stuff in MongoDB....

Daniel Roseman

unread,
Sep 28, 2010, 2:36:38 AM9/28/10
to Django users
Any MongoDB stuff you put in is external to Django itself and will
rely on third-party libraries. So, you can do what you like with it.

We're doing something very similar at the moment.
--
DR.

Julie Andrews

unread,
Sep 28, 2010, 2:38:14 AM9/28/10
to django...@googlegroups.com
Thanks


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Julie
Reply all
Reply to author
Forward
0 new messages