﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27503	Provide a way for to-many rels to be used without the db	Marc Tamlyn	nobody	"ManyToMany or reverse to many relationships should have a reasonable way to interact with them without them touching the database.

It's hard to think about what this would look like, but it could look something like:

{{{#!python
>>> user.groups.set(users)
>>> user.groups._cache == users  # Very explicit, unlikely to mesh well with future access code
... True
>>> user.groups.all() == users  # Via prefetch cache. Nicer but could be confusing
... True
>>> user.groups.save()  # explicit commit
>>> user.save_pending_m2m()  # saves all m2ms with a pending update
}}}"	New feature	new	Database layer (models, ORM)	dev	Normal				Accepted	0	0	0	0	0	0
