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

1 view
Skip to first unread message

Bill Seitz

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

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

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.

Julie Andrews

Sep 28, 2010, 2:38:14 AM9/28/10

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply all
Reply to author
0 new messages