~ubuntuone-pqm-team/django/stable

« back to all changes in this revision

Viewing changes to django/contrib/gis/db/backends/base.py

  • Committer: Matias Bordese
  • Date: 2014-08-21 21:22:40 UTC
  • Revision ID: matias.bordese@canonical.com-20140821212240-tij4ms6qzjbdiioz
Tags: 1.5.9
Imported Django 1.5.9 from released tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
`SpatialRefSys` model the backend.
4
4
"""
5
5
import re
6
 
 
7
6
from django.contrib.gis import gdal
8
7
from django.utils import six
9
8
from django.utils.encoding import python_2_unicode_compatible
10
9
 
11
 
 
12
10
class BaseSpatialOperations(object):
13
11
    """
14
12
    This module holds the base `BaseSpatialBackend` object, which is
20
18
    geometry_operators = {}
21
19
    geography_operators = {}
22
20
    geography_functions = {}
23
 
    gis_terms = set()
 
21
    gis_terms = {}
24
22
    truncate_params = {}
25
23
 
26
24
    # Quick booleans for the type of this spatial backend, and