timgraham/django — pull request #2 by timgraham (2014-05-16 14:09:03+00:00)
Title: Fixed #18389 -- Fixed the way contribute_to_class is called

Now this method is only called only if the object is an instance.
This allows to have field classes as model class attributes.