Fixed #12479 -- Pass in connection argument to `as_sql` in `GeoSQLCompiler.get_columns`.  Thanks, jpwatts, for bug report and initial patch.
Fixed #12479 -- Pass in connection argument to `as_sql` in `GeoSQLCompiler.get_columns`.  Thanks, jpwatts, for bug report and initial patch.

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%4012083

adieu/django-nonrel,adieu/django-nonrel,adieu/django-nonrel