Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flag to prevent operations on manytomany field w/unsaved instances.
By default, attempting to read or write a many-to-many field on an unsaved model instance will now raise an exception. To disable this behavior, specify `prevent_unsaved=False` when initializing your ManyToManyField. Refs #2765
- Loading branch information