Jacob Kaplan-Moss: Stupid ORM Tricks

  • November 3, 2011 · 6:30 PM

Stupid ORM Tricks

ORMs are limiting, and anybody who argues otherwise is selling you something. Django's ORM, designed with simplicity in mind, is more limiting than most -- but it's still quite powerful. Here are some tricks that show off some (perhaps ill-advised) techniques for stepping outside of the confines of the ORM. I'll cover writing custom field types, auto-generating models using database introspection, and using models on top of database views to kludge legacy schemes into submission. 

About Jacob

Jacob is one of the lead developers and co-creator of Django. Jacob's a consultant with Revolution Systems where he helps companies cope with high traffic and tight deadlines. Jacob previously worked for Lawrence Journal-World, where he helped develop and open source Django.


We'll be joining forces with the SF Python meetup this month.

6:30p - Check-in and mingle, with Pizza and Beer provided by our generous sponsor Yelp!
7.10p - Welcome
7.15p - 3-4 Lightning Talks (5 minutes each) followed by announcements
7.45p - Featured Talk
8.45p - Q & A and more Mingling, Ping pong / Pool
9:30p - Door close and moving the party to Thirty Bear 

Please register via Eventbrite (as Yelp security requires it): http://sfpythonmeetup.eventbrite.com/

Join or login to comment.

  • Michael M.

    Jacob led a great tour of some fringe tactics for flexing the boundaries of the baseline ORM using custom fields and dynamically generated models.

    November 4, 2011

  • Avery A.

    Great and engaging presentation. Awesome, interesting attendees

    November 4, 2011

  • A former member
    A former member

    Humorous and informative. Can't ask for much more.

    November 4, 2011

  • Dan O

    Really good turn out. The talk was engaging and it was nice to see JKM make it out here to the Bay area.

    November 4, 2011

  • Hy C.

    Thank you Yelp/Jimmy/Grace for including a veggie no-cheese pizza. I found Jacob's talk inspiring! More content for December! Thx.

    November 3, 2011

  • David C.

    It has been ok in the past assuming you tell them you're there for the Python/Django meetup.

    November 3, 2011

  • A former member
    A former member

    The Eventbrite page says the event has ended. Is it too late to register to get in?

    November 3, 2011

Our Sponsors

  • Yeti

    Organizing, Hosting, Food, Drinks

  • JetBrains

    PyCharm Licenses for meetup raffles!

People in this
Meetup are also in:

Imagine having a community behind you

Get started Learn more

I decided to start Reno Motorcycle Riders Group because I wanted to be part of a group of people who enjoyed my passion... I was excited and nervous. Our group has grown by leaps and bounds. I never thought it would be this big.

Henry, started Reno Motorcycle Riders

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy