Round Pegs and Square Holes: Django and MongoDB

A session at DjangoCon Europe 2012

Monday 4th June, 2012

11:30am to 12:00pm (CET)

The common approach for getting MongoDB to work with Django has been to replace Django ORM based pieces with MongoDB based alternatives. This is usually accomplished by forcing MongoDB to behave like a relational database and is done with extremely sophisticated code. The result is something that doesn’t behave quite as nicely as a relational database, and negates many of the advantages MongoDB (and other NoSQL databases) possess, hence the title of this talk. This talk will not only go over the existing heroic but flawed approaches, but will also propose a simpler, more direct path for getting Django to play well with MongoDB. Simpler is important, because it makes possible the creation of a developer-accepted bridge between MongoDB powered efforts and the hundreds of Django ORM powered efforts available on Django Packages.

Co-presented with Audrey Roy, this highly technical talk will include theory and a lot of code examples.

About the speakers

This person is speaking at this event.
Daniel Greenfeld

Pythonista, Djangonaut, teacher, author, speaker, capoeirista, and more!

This person is speaking at this event.
Audrey Roy

Creator of Cookiecutter & Python, JS, CSS open source libraries. Coauthor of Two Scoops of Django. @IEPyladies leader. Painter, sculptor, artist. MIT EECS 2005 bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 11:30am12:00pm CET

Date Mon 4th June 2012

Short URL


View the schedule



Books by speaker

  • Two Scoops of Django: Best Practices for Django 1.8
  • Into the Brambles: The Brambles Book 1 (Volume 1)
  • Two Scoops of Django

See something wrong?

Report an issue with this session