coleifer/peewee — pull request #142 by arielrossanigo (2012-12-20 22:37:35+00:00)
Title: Primary key value 0

In an escenario where two tables are related and the value of the foreign key is 0, it raises an DoesNotExist exception. That's because 0 evaluates to False even when it's a real value.