﻿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
23878	Query object/expression documentation needs to tidied	Daniele Procida	Ng Zhi An	"docs/ref/models/queries.txt **Query-related classes** was created for new `F()` documentation, and then the notes on `Q()` were added, followed later by `Prefetch()`. 

As that document noted, ""This document provides reference material for query-related tools not documented elsewhere"" - in other words, things that we couldn't find a good place for elsewhere.

Now `F()` has moved out, into the new docs/ref/models/expressions.txt **Query Expressions** document, and **Query-related classes** now looks even less satisfactory than before.

I propose:

* moving the note on `Q()` into docs/ref/models/expressions.txt
* moving `Prefetch()` into https://docs.djangoproject.com/en/dev/ref/models/querysets/#prefetch-related, or perhaps elsewhere on that page
* moving the https://docs.djangoproject.com/en/dev/ref/models/querysets/#aggregation-functions documentation into docs/ref/models/expressions.txt 
* and of course, removing docs/ref/models/queries.txt altogether"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed			Accepted	0	0	0	0	1	0
