summaryrefslogtreecommitdiff
path: root/django/db/models/sql/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/sql/constants.py')
-rw-r--r--django/db/models/sql/constants.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/django/db/models/sql/constants.py b/django/db/models/sql/constants.py
index a1db61b9ff..fdfb2ea891 100644
--- a/django/db/models/sql/constants.py
+++ b/django/db/models/sql/constants.py
@@ -9,16 +9,16 @@ GET_ITERATOR_CHUNK_SIZE = 100
# Namedtuples for sql.* internal use.
# How many results to expect from a cursor.execute call
-MULTI = 'multi'
-SINGLE = 'single'
-CURSOR = 'cursor'
-NO_RESULTS = 'no results'
+MULTI = "multi"
+SINGLE = "single"
+CURSOR = "cursor"
+NO_RESULTS = "no results"
ORDER_DIR = {
- 'ASC': ('ASC', 'DESC'),
- 'DESC': ('DESC', 'ASC'),
+ "ASC": ("ASC", "DESC"),
+ "DESC": ("DESC", "ASC"),
}
# SQL join types.
-INNER = 'INNER JOIN'
-LOUTER = 'LEFT OUTER JOIN'
+INNER = "INNER JOIN"
+LOUTER = "LEFT OUTER JOIN"