Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str decorator_list decorator_list Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad Call NameLoad NameLoad decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension NameStore TupleLoad Str Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str TupleLoad NameLoad NameLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Dict Str Str Str Str TupleLoad Call NameLoad Str NameLoad TupleLoad Call NameLoad Str NameLoad TupleLoad Call NameLoad Str NameLoad TupleLoad Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num If CompareLt NameLoad TupleLoad Num Num Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign NameStore ListLoad Str AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension NameStore NameLoad If CompareGtE NameLoad TupleLoad Num Num Num body TryExcept body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Return Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return ListLoad Assign NameStore SubscriptLoad NameLoad Index Num If Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot BoolOpOr CompareIs NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad decorator_list If Call NameLoad NameLoad Str body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Str Return BinOpMod BinOpMod NameLoad Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Raise finalbody Expr Call AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Num body Assign NameStore Str handlers ExceptHandler type NameLoad body Pass If CompareIs NameLoad NameLoad body Raise Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str orelse Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body AugAssignAdd NameStore Str Assign NameStore BinOpMod AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Num NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq NameLoad Str body Return BinOpMod Str TupleLoad NameLoad BoolOpOr BoolOpAnd UnaryOpNot NameLoad Str Str Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list decorator_list
N/A N/A re decimal Decimal django.contrib.gis.db.backends.base BaseSpatialOperations django.contrib.gis.db.backends.util SpatialOperation SpatialFunction django.contrib.gis.db.backends.spatialite.adapter SpatiaLiteAdapter django.contrib.gis.geometry.backend Geometry django.contrib.gis.measure Distance django.core.exceptions ImproperlyConfigured django.db.backends.sqlite3.base DatabaseOperations django.db.utils DatabaseError SpatiaLiteOperator N/A SpatialOperation N/A N/A For SpatiaLite operators (e.g. `&&`, `~`). __init__ N/A N/A self operator N/A N/A N/A N/A N/A N/A super SpatiaLiteOperator self __init__ operator operator N/A N/A SpatiaLiteFunction N/A SpatialFunction N/A N/A For SpatiaLite function calls. __init__ N/A N/A self function N/A kwargs N/A N/A N/A N/A N/A super SpatiaLiteFunction self __init__ function kwargs N/A N/A SpatiaLiteFunctionParam N/A SpatiaLiteFunction N/A N/A For SpatiaLite functions that take another parameter. N/A sql_template %(function)s(%(geo_col)s, %(geometry)s, %%s) N/A SpatiaLiteDistance N/A SpatiaLiteFunction N/A N/A For SpatiaLite distance operations. N/A dist_func Distance N/A sql_template %(function)s(%(geo_col)s, %(geometry)s) %(operator)s %%s __init__ N/A N/A self operator N/A N/A N/A N/A N/A N/A super SpatiaLiteDistance self __init__ N/A self dist_func operator operator N/A N/A SpatiaLiteRelate N/A SpatiaLiteFunctionParam N/A N/A For SpatiaLite Relate(<geom>, <pattern>) calls. N/A pattern_regex N/A N/A re compile ^[012TF\*]{9}$ __init__ N/A N/A self pattern N/A N/A N/A N/A N/A N/A N/A self pattern_regex match pattern N/A N/A N/A ValueError N/A Invalid intersection matrix pattern "%s". pattern N/A N/A N/A N/A super SpatiaLiteRelate self __init__ Relate N/A N/A N/A dtypes N/A Decimal Distance float int long get_dist_ops N/A N/A operator N/A N/A N/A Returns operations for regular distances; spherical distances are not currently supported. N/A N/A N/A SpatiaLiteDistance operator N/A SpatiaLiteOperations N/A DatabaseOperations BaseSpatialOperations N/A N/A compiler_module django.contrib.gis.db.models.sql.compiler N/A name spatialite N/A spatialite True N/A version_regex N/A N/A re compile ^(?P<major>\d)\.(?P<minor1>\d)\.(?P<minor2>\d+) N/A valid_aggregates N/A dict N/A N/A k None N/A k N/A Extent Union N/A Adapter SpatiaLiteAdapter N/A Adaptor Adapter N/A area Area N/A centroid Centroid N/A contained MbrWithin N/A difference Difference N/A distance Distance N/A envelope Envelope N/A intersection Intersection N/A length GLength N/A num_geom NumGeometries N/A num_points NumPoints N/A point_on_surface PointOnSurface N/A scale ScaleCoords N/A svg AsSVG N/A sym_difference SymDifference N/A transform Transform N/A translate ShiftCoords N/A union GUnion N/A unionagg GUnion N/A from_text GeomFromText N/A from_wkb GeomFromWKB N/A select AsText(%s) N/A geometry_functions N/A equals disjoint touches crosses within overlaps contains intersects relate contained bbcontains bboverlaps same_as exact N/A SpatiaLiteFunction Equals N/A SpatiaLiteFunction Disjoint N/A SpatiaLiteFunction Touches N/A SpatiaLiteFunction Crosses N/A SpatiaLiteFunction Within N/A SpatiaLiteFunction Overlaps N/A SpatiaLiteFunction Contains N/A SpatiaLiteFunction Intersects N/A SpatiaLiteRelate basestring N/A SpatiaLiteFunction MbrWithin N/A SpatiaLiteFunction MbrContains N/A SpatiaLiteFunction MbrOverlaps N/A SpatiaLiteFunction Equals N/A SpatiaLiteFunction Equals N/A distance_functions N/A distance_gt distance_gte distance_lt distance_lte N/A N/A get_dist_ops > dtypes N/A N/A get_dist_ops >= dtypes N/A N/A get_dist_ops < dtypes N/A N/A get_dist_ops <= dtypes N/A N/A N/A geometry_functions update distance_functions __init__ N/A N/A self connection N/A N/A N/A N/A N/A N/A super DatabaseOperations self __init__ connection N/A N/A N/A vtup N/A N/A self spatialite_version_tuple N/A version N/A vtup N/A 1 N/A N/A version N/A 2 3 0 N/A N/A N/A ImproperlyConfigured GeoDjango only supports SpatiaLite versions 2.3.0 and above N/A N/A self spatial_version version N/A N/A N/A ImproperlyConfigured N/A N/A N/A N/A Exception N/A msg N/A N/A N/A ImproperlyConfigured N/A Cannot determine the SpatiaLite version for the "%s" database (error was "%s").  Was the SpatiaLite initialization SQL loaded on this database? N/A N/A N/A N/A self connection settings_dict N/A NAME msg N/A gis_terms N/A isnull N/A gis_terms N/A N/A N/A self geometry_functions keys N/A N/A self gis_terms N/A dict N/A N/A term None N/A term gis_terms N/A N/A version N/A 2 4 0 N/A N/A N/A N/A N/A N/A self _get_spatialite_func AsGML(GeomFromText('POINT(1 1)')) N/A N/A self gml AsGML N/A N/A self kml AsKML N/A N/A N/A DatabaseError N/A N/A N/A check_aggregate_support N/A N/A self aggregate N/A N/A N/A 
        Checks if the given aggregate name is supported (that is, if it's
        in `self.valid_aggregates`).
         N/A agg_name N/A N/A aggregate __class__ __name__ N/A N/A agg_name N/A self valid_aggregates N/A convert_geom N/A N/A self wkt geo_field N/A N/A N/A 
        Converts geometry WKT returned from a SpatiaLite aggregate.
         N/A wkt N/A N/A N/A Geometry wkt N/A geo_field srid N/A N/A None N/A geo_db_type N/A N/A self f N/A N/A N/A 
        Returns None because geometry columnas are added via the
        `AddGeometryColumn` stored procedure on SpatiaLite.
         N/A None N/A get_distance N/A N/A self f value lookup_type N/A N/A N/A 
        Returns the distance parameters for the given geometry field,
        lookup value, and lookup type.  SpatiaLite only supports regular
        cartesian-based queries (no spheroid/sphere calculations for point
        geometries like PostGIS).
         N/A N/A value N/A N/A N/A N/A value N/A value N/A 0 N/A N/A isinstance value Distance N/A N/A N/A N/A f geodetic N/A self connection N/A N/A N/A ValueError SpatiaLite does not support distance queries on geometry fields with a geodetic coordinate system. Distance objects; use a numeric value of your distance in degrees instead. N/A N/A dist_param N/A getattr value N/A N/A Distance unit_attname N/A N/A f units_name N/A self connection N/A N/A dist_param value N/A N/A dist_param N/A get_geom_placeholder N/A N/A self f value N/A N/A N/A 
        Provides a proper substitution value for Geometries that are not in the
        SRID of the field.  Specifically, this routine will substitute in the
        Transform() and GeomFromText() function call(s).
         transform_value N/A N/A value srid N/A N/A N/A N/A N/A N/A value None N/A N/A value srid srid N/A N/A N/A hasattr value expression N/A N/A N/A transform_value value N/A f srid N/A N/A placeholder N/A %s(%%s, %s) N/A N/A self transform N/A f srid N/A N/A placeholder %s N/A N/A N/A placeholder %s.%s N/A tuple N/A map N/A self quote_name N/A N/A value cols N/A N/A value expression N/A N/A N/A transform_value value N/A f srid N/A N/A N/A %s(%s(%%s,%s), %s) N/A N/A self transform N/A self from_text N/A value srid N/A f srid N/A N/A N/A %s(%%s,%s) N/A N/A self from_text N/A f srid N/A _get_spatialite_func N/A N/A self func N/A N/A N/A 
        Helper routine for calling SpatiaLite functions and returning
        their result.
         N/A cursor N/A N/A N/A self connection _cursor N/A N/A N/A N/A N/A N/A N/A cursor execute N/A SELECT %s func N/A row N/A N/A cursor fetchone N/A N/A N/A N/A N/A N/A N/A N/A cursor close N/A N/A row N/A 0 N/A geos_version N/A N/A self N/A N/A N/A Returns the version of GEOS used by SpatiaLite as a string. N/A N/A N/A self _get_spatialite_func geos_version() N/A proj4_version N/A N/A self N/A N/A N/A Returns the version of the PROJ.4 library used by SpatiaLite. N/A N/A N/A self _get_spatialite_func proj4_version() N/A spatialite_version N/A N/A self N/A N/A N/A Returns the SpatiaLite library version as a string. N/A N/A N/A self _get_spatialite_func spatialite_version() N/A spatialite_version_tuple N/A N/A self N/A N/A N/A 
        Returns the SpatiaLite version as a tuple (version string, major,
        minor, subminor).
         N/A N/A N/A version N/A N/A self spatialite_version N/A N/A N/A DatabaseError N/A N/A version None N/A N/A N/A tmp N/A N/A self _get_spatialite_func X(GeomFromText('POINT(1 1)')) N/A N/A tmp 1.0 N/A N/A version 2.3.0 N/A N/A N/A DatabaseError N/A N/A N/A N/A version None N/A N/A N/A m N/A N/A N/A self version_regex match version N/A m N/A N/A major N/A int N/A N/A m group major N/A minor1 N/A int N/A N/A m group minor1 N/A minor2 N/A int N/A N/A m group minor2 N/A N/A N/A Exception N/A Could not parse SpatiaLite version string: %s version N/A N/A version major minor1 minor2 N/A spatial_aggregate_sql N/A N/A self agg N/A N/A N/A 
        Returns the spatial aggregate SQL template and function for the
        given Aggregate instance.
         N/A agg_name N/A N/A agg __class__ __name__ N/A N/A N/A N/A self check_aggregate_support agg N/A N/A N/A NotImplementedError N/A %s spatial aggregate is not implmented for this backend. agg_name N/A agg_name N/A N/A agg_name lower N/A N/A agg_name union N/A N/A agg_name agg N/A sql_template N/A N/A self select %(function)s(%(field)s) N/A sql_function N/A getattr self agg_name N/A N/A sql_template sql_function N/A spatial_lookup_sql N/A N/A self lvalue lookup_type value field qn N/A N/A N/A 
        Returns the SpatiaLite-specific SQL for the given lookup value
        [a tuple of (alias, column, db_type)], lookup type, lookup
        value, the model field, and the quoting function.
         N/A N/A alias col db_type lvalue N/A geo_col N/A %s.%s N/A N/A qn alias N/A qn col N/A N/A lookup_type N/A self geometry_functions N/A N/A tmp N/A N/A self geometry_functions N/A lookup_type N/A N/A isinstance tmp tuple N/A N/A N/A op arg_type tmp N/A N/A N/A isinstance value N/A tuple list N/A N/A N/A ValueError N/A Tuple required for `%s` lookup type. lookup_type N/A geom N/A value N/A 0 N/A N/A N/A len value 2 N/A N/A N/A ValueError N/A Incorrect number of parameters given for `%s` lookup type. lookup_type N/A N/A N/A isinstance N/A value N/A 1 arg_type N/A N/A N/A ValueError N/A Argument type should be %s, got %s instead. N/A arg_type N/A type N/A value N/A 1 N/A N/A lookup_type relate N/A N/A op N/A op N/A value N/A 1 N/A N/A N/A lookup_type N/A self distance_functions N/A N/A op N/A op N/A 0 N/A N/A op tmp N/A geom value N/A N/A N/A op as_sql geo_col N/A N/A self get_geom_placeholder field geom N/A N/A N/A lookup_type isnull N/A N/A N/A %s IS %sNULL N/A geo_col N/A N/A N/A value NOT  N/A N/A TypeError N/A Got invalid lookup_type: %s N/A repr lookup_type N/A geometry_columns N/A N/A self N/A N/A django.contrib.gis.db.backends.spatialite.models GeometryColumns N/A GeometryColumns N/A spatial_ref_sys N/A N/A self N/A N/A django.contrib.gis.db.backends.spatialite.models SpatialRefSys N/A SpatialRefSys N/A N/A