insert into middle of embedded document?

2010-09-29 Thread Bill Seitz
I'm treating a task hierarchy as a tree. I want to add a subtask to a top-level task. But I don't want to append at the end of the existing list, I want to put it at a specific position in the list. Here's my existing record: > db.master_projects.find() { "_id" : ObjectId("4ca1397c06391121743320

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

2010-09-27 Thread Bill Seitz
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/ mess