Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 5643a3b51be338196d0b292d5626ad43648448d3
      
https://github.com/django/django/commit/5643a3b51be338196d0b292d5626ad43648448d3
  Author: Anubhav Joshi <[email protected]>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M django/contrib/contenttypes/fields.py
    M django/db/models/fields/related.py
    M docs/releases/1.8.txt
    M docs/topics/db/examples/many_to_one.txt
    M docs/topics/db/examples/one_to_one.txt
    M tests/admin_util/tests.py
    M tests/contenttypes_tests/tests.py
    M tests/many_to_one_regress/tests.py
    M tests/multiple_database/tests.py
    M tests/one_to_one/models.py
    M tests/one_to_one/tests.py
    M tests/one_to_one_regress/tests.py

  Log Message:
  -----------
  Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise 
ValueError.

This prevents silent data loss.

Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.


-- 
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/5390a5138bca3_116c1389d38118758%40hookshot-fe2-cp1-prd.iad.github.net.mail.
For more options, visit https://groups.google.com/d/optout.

Reply via email to