From 1db5fce1eee27cb260b47d3c631ee8f8d02de8c2 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Tue, 20 Aug 2013 12:28:59 -0400 Subject: [PATCH] Oracle also treats NULLs as largests values when ordering. --- django/db/backends/oracle/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index b6812a6d3e..e6435a9e96 100644 --- a/django/db/backends/oracle/base.py +++ b/django/db/backends/oracle/base.py @@ -93,6 +93,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): supports_sequence_reset = False supports_combined_alters = False max_index_name_length = 30 + nulls_order_largest = True class DatabaseOperations(BaseDatabaseOperations):