Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 1be03aff5c24e902b89503dda32891aa4881579e
      
https://github.com/django/django/commit/1be03aff5c24e902b89503dda32891aa4881579e
  Author: Vlad Starostin <[email protected]>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M django/db/models/base.py
    M tests/model_fields/models.py

  Log Message:
  -----------
  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.


-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/537625088f455_65aa805d40181d6%40hookshot-fe2-cp1-prd.iad.github.net.mail.
For more options, visit https://groups.google.com/d/optout.

Reply via email to