Jan 22, 2017 Sunday

A few Django ORM mistakes

See if you can figure out what's wrong with the code snippets below! Ask yourself what the problem is, what effect will it have, and how can you fix it? These examples are for Django, but probably apply to many other ORMs.

I used bug 2 & 3 solutions for Sublevel.