ANN: Fix for generic relations data-loss bug

0 views
Skip to first unread message

James Bennett

unread,
Feb 10, 2007, 12:56:35 AM2/10/07
to django-announce
A bug in Django's generic-relations code was found which would cause
the 'delete()' method to delete more objects than it should have; this
was patched in Django trunk as changeset 4428[1] and in the 0.95-
bugfixes branch as changeset 4476[2].

Generic relations are a relatively new feature in Django, and are
mostly undocumented -- and what documentation there is indicates that
the feature is "far from complete". Given that, and the fact that many
people seem to be unaware of its existence, we will not be issuing a
point release of Django for this fix; however, anyone using generic
relations is strongly advised to 'svn up' or apply whichever of the
two patches below is appropriate for the version of Django in use.


[1] http://code.djangoproject.com/changeset/4428
[2] http://code.djangoproject.com/changeset/4476

Reply all
Reply to author
Forward
0 new messages