#7690: obj.manytomanyrel = None no longer works, needs reference in
BackwardsIncompatibleChanges
---------------------------+------------------------------------------------
Reporter: dnordberg | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
It used to be that a manytomany relationship could be assigned to None,
which would be the same as calling clear().
E.g. {{{obj.manytomanyrel = None}}} was the same as
{{{obj.manytomanyrel.clear()}}}.
I think this was also in the documentation.
Now I cant do {{{obj.manytomanyrel = None}}}. I can however do this,
{{{obj.manytomanyrel = []}}}.
I think needs to be added to db-api and BackwardsIncompatibleChanges.
--
Ticket URL: <http://code.djangoproject.com/ticket/7690>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---