summaryrefslogtreecommitdiff
path: root/django/db/backends/mysql/compiler.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-07-08 10:39:54 +1000
committerAlex Gaynor <alex.gaynor@gmail.com>2013-07-08 10:39:54 +1000
commit03d9566e0df45c72bffa99fe244a92f0279da56f (patch)
treeb4c9cc9260769d7f79f62c0fe16a2c5a5746e6ed /django/db/backends/mysql/compiler.py
parent0b69a755029f8a8ba6005b9d77be8132a7bc0fb3 (diff)
downloaddjango-03d9566e0df45c72bffa99fe244a92f0279da56f.tar.gz
A large number of stylistic cleanups across django/db/
Diffstat (limited to 'django/db/backends/mysql/compiler.py')
-rw-r--r--django/db/backends/mysql/compiler.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/db/backends/mysql/compiler.py b/django/db/backends/mysql/compiler.py
index 4e033e3d93..b7d1d7b98d 100644
--- a/django/db/backends/mysql/compiler.py
+++ b/django/db/backends/mysql/compiler.py
@@ -22,20 +22,26 @@ class SQLCompiler(compiler.SQLCompiler):
sql, params = self.as_sql()
return '(%s) IN (%s)' % (', '.join(['%s.%s' % (qn(alias), qn2(column)) for column in columns]), sql), params
+
class SQLInsertCompiler(compiler.SQLInsertCompiler, SQLCompiler):
pass
+
class SQLDeleteCompiler(compiler.SQLDeleteCompiler, SQLCompiler):
pass
+
class SQLUpdateCompiler(compiler.SQLUpdateCompiler, SQLCompiler):
pass
+
class SQLAggregateCompiler(compiler.SQLAggregateCompiler, SQLCompiler):
pass
+
class SQLDateCompiler(compiler.SQLDateCompiler, SQLCompiler):
pass
+
class SQLDateTimeCompiler(compiler.SQLDateTimeCompiler, SQLCompiler):
pass