Opened 11 years ago

Closed 11 years ago

#7690 closed (wontfix)

obj.manytomanyrel = None no longer works, needs reference in BackwardsIncompatibleChanges

Reported by: dnordberg Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


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.

Change History (2)

comment:1 Changed 11 years ago by dnordberg

Component: UncategorizedDocumentation

comment:2 Changed 11 years ago by Jacob

Resolution: wontfix
Status: newclosed

I honestly can't recall that this ever worked, but I'll take your word for it! However, it shouldn't have worked in the first place; the fact that it did was probably a bug.

Note: See TracTickets for help on using tickets.
Back to Top