benoitc/couchdbkit — pull request #106 by janua (2011-10-27 10:07:11+00:00)
Title: Fixed default argument in SchemaProperty (Fix)

When passing a default value for SchemaProperty, it did not propagate correctly.
It now passes the instance back if it is the default, otherwise will just create a new instance.
I have included 4 test cases.

Thanks!

(Past request https://github.com/benoitc/couchdbkit/pull/104 had an extra commit that was not meant to be included)