diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-02-26 16:19:40 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-02-26 16:19:40 +0000 |
| commit | d96ffa130e8771adbbd717b92751d1c336db00ec (patch) | |
| tree | 27a6ddbcc76e0e273db72bb00665d5a4c2b9e169 | |
| parent | 9f6859e1eac0c39e2e4fb79a1336eb63b0295fec (diff) | |
Added file missed in r17588.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/gis/db/backends/mysql/compiler.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/django/contrib/gis/db/backends/mysql/compiler.py b/django/contrib/gis/db/backends/mysql/compiler.py new file mode 100644 index 0000000000..4d2d78a81d --- /dev/null +++ b/django/contrib/gis/db/backends/mysql/compiler.py @@ -0,0 +1,22 @@ +from django.contrib.gis.db.models.sql.compiler import GeoSQLCompiler as BaseGeoSQLCompiler +from django.db.backends.mysql import compiler + +SQLCompiler = compiler.SQLCompiler + +class GeoSQLCompiler(BaseGeoSQLCompiler, SQLCompiler): + pass + +class SQLInsertCompiler(compiler.SQLInsertCompiler, GeoSQLCompiler): + pass + +class SQLDeleteCompiler(compiler.SQLDeleteCompiler, GeoSQLCompiler): + pass + +class SQLUpdateCompiler(compiler.SQLUpdateCompiler, GeoSQLCompiler): + pass + +class SQLAggregateCompiler(compiler.SQLAggregateCompiler, GeoSQLCompiler): + pass + +class SQLDateCompiler(compiler.SQLDateCompiler, GeoSQLCompiler): + pass |
