Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: a8a81aae20a81e012fddc24f3ede556501af64a2
      
https://github.com/django/django/commit/a8a81aae20a81e012fddc24f3ede556501af64a2
  Author: Anssi Kääriäinen <akaar...@gmail.com>
  Date:   2012-05-27 (Sun, 27 May 2012)

  Changed paths:
    M django/db/models/base.py
    M django/db/models/query_utils.py
    M tests/modeltests/defer/tests.py
    M tests/modeltests/field_subclassing/tests.py

  Log Message:
  -----------
  Fixed #18343 -- Cleaned up deferred model implementation

Generic cleanup and dead code removal in deferred model field loading
and model.__reduce__().

Also fixed an issue where if an inherited model with a parent field
chain parent_ptr_id -> id would be deferred loaded, then accessing
the id field caused caused a database query, even if the id field's
value is already loaded in the parent_ptr_id field.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to