From 0650bab4928521dea79613fb5ff1144ad0141acb Mon Sep 17 00:00:00 2001 From: Ian Kelly Date: Thu, 3 Jul 2008 19:02:43 +0000 Subject: [PATCH] Fixed a test case using extra sql that didnt fit Oracle syntax. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7832 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/extra_regress/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regressiontests/extra_regress/models.py b/tests/regressiontests/extra_regress/models.py index 3bcc3075ec..e6665222bf 100644 --- a/tests/regressiontests/extra_regress/models.py +++ b/tests/regressiontests/extra_regress/models.py @@ -39,7 +39,7 @@ Second Revision of First Revision (2, 1) Queryset to match most recent revision: ->>> qs = RevisionableModel.objects.extra(where=["%(table)s.id IN (SELECT MAX(rev.id) FROM %(table)s AS rev GROUP BY rev.base_id)" % {'table': RevisionableModel._meta.db_table,}],) +>>> qs = RevisionableModel.objects.extra(where=["%(table)s.id IN (SELECT MAX(rev.id) FROM %(table)s rev GROUP BY rev.base_id)" % {'table': RevisionableModel._meta.db_table,}],) >>> qs []