Monday, September 27, 2010

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

On Sep 27, 9:43 pm, Bill Seitz <flux...@gmail.com> wrote:
> 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....

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.

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

No comments:

Post a Comment