Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

support 2.2 new related manager behavior #13

@MichaelKim0407

Description

@MichaelKim0407

Pre-2.2, some related manager methods are disabled for m2m relations with a through model.

2.1 doc:

Also, if you are using an intermediate model for a many-to-many relationship, then the add(), create(), remove(), and set() methods are disabled.

This has been changed in 2.2 with a through_defaults argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions