﻿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
3164	"[patch] ""basic"" model tests assume ORDER BY id"	Matt Boersma <mboersma@…>	Adrian Holovaty	"As discussed on [http://groups.google.com/group/django-developers/browse_thread/thread/82547cf772d00567/# django-dev], the tests/modeltests/basic/models.py contains doctests that OR together other query sets, then expect the results to be in a deterministic order, apparently by id.  But no ordering is specified in the model, so the tests are passing only by luck (and they fail against the Oracle backend).

We need a patch to add ordering = (""-pub_date"",) and to alter the relevant tests to match that ordering."	defect	closed	Testing framework	dev	normal	fixed	oracle, ordering		Unreviewed	1	0	0	0	0	0
