summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends/mysql/compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/gis/db/backends/mysql/compiler.py')
-rw-r--r--django/contrib/gis/db/backends/mysql/compiler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/contrib/gis/db/backends/mysql/compiler.py b/django/contrib/gis/db/backends/mysql/compiler.py
index 7079db9f6a..f4654eff84 100644
--- a/django/contrib/gis/db/backends/mysql/compiler.py
+++ b/django/contrib/gis/db/backends/mysql/compiler.py
@@ -30,3 +30,6 @@ class SQLAggregateCompiler(compiler.SQLAggregateCompiler, GeoSQLCompiler):
class SQLDateCompiler(compiler.SQLDateCompiler, GeoSQLCompiler):
pass
+
+class SQLDateTimeCompiler(compiler.SQLDateTimeCompiler, GeoSQLCompiler):
+ pass