Index: tests/regressiontests/queries/models.py
===================================================================
--- tests/regressiontests/queries/models.py	(revision 9734)
+++ tests/regressiontests/queries/models.py	(working copy)
@@ -1028,6 +1028,12 @@
 >>> Annotation.objects.filter(notes__in=Note.objects.filter(note="n1").values_list('note').values('id'))
 [<Annotation: a1>]
 
+Bug #10132 -- QuerySet values() should work on extra(select) fields
+>>> from django.db.models import Count
+>>> test = Item.objects.extra(select={"note_alias": "note_id"}).values("note_alias")
+>>> test.order_by("note_alias").annotate(Count("id"))
+[{'note_alias': 1, 'id__count': 2}, {'note_alias': 2, 'id__count': 1}, {'note_alias': 3, 'id__count': 3}]
+
 """}
 
 # In Python 2.3 and the Python 2.6 beta releases, exceptions raised in __len__
