Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad If Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Pass orelse Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Str orelse If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareGt AttributeLoad NameLoad attr Num body Assign NameStore BinOpAdd Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Str orelse Assign NameStore BinOpAdd Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Return Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list
N/A django.conf settings django.core.exceptions ImproperlyConfigured django.db.backends.postgresql_psycopg2.creation DatabaseCreation django.utils.functional cached_property PostGISCreation N/A DatabaseCreation N/A N/A geom_index_type GIST N/A geom_index_ops GIST_GEOMETRY_OPS N/A geom_index_ops_nd GIST_GEOMETRY_OPS_ND template_postgis N/A N/A self N/A N/A N/A template_postgis N/A getattr settings POSTGIS_TEMPLATE template_postgis N/A cursor N/A N/A N/A self connection cursor N/A N/A N/A cursor execute SELECT 1 FROM pg_database WHERE datname = %s LIMIT 1; N/A template_postgis N/A N/A N/A cursor fetchone N/A N/A template_postgis N/A None N/A cached_property sql_indexes_for_field N/A N/A self model f style N/A N/A N/A Return any spatial index creation SQL for the field. django.contrib.gis.db.models.fields GeometryField N/A output N/A N/A N/A super PostGISCreation self sql_indexes_for_field model f style N/A N/A isinstance f GeometryField N/A N/A gqn N/A N/A N/A self connection ops geo_quote_name N/A qn N/A N/A N/A self connection ops quote_name N/A db_table N/A N/A model _meta db_table N/A N/A N/A f geography N/A N/A N/A self connection ops geometry N/A N/A N/A N/A N/A N/A output append N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A style SQL_KEYWORD SELECT  N/A N/A style SQL_TABLE AddGeometryColumn ( N/A N/A style SQL_TABLE N/A gqn db_table ,  N/A N/A style SQL_FIELD N/A gqn N/A f column ,  N/A N/A style SQL_FIELD N/A str N/A f srid ,  N/A N/A style SQL_COLTYPE N/A gqn N/A f geom_type ,  N/A N/A style SQL_KEYWORD N/A str N/A f dim ); N/A N/A N/A f null N/A N/A N/A N/A output append N/A N/A N/A N/A N/A N/A N/A style SQL_KEYWORD ALTER TABLE  N/A N/A style SQL_TABLE N/A qn db_table N/A N/A style SQL_KEYWORD  ALTER  N/A N/A style SQL_FIELD N/A qn N/A f column N/A N/A style SQL_KEYWORD  SET NOT NULL ; N/A N/A f spatial_index N/A N/A N/A f geography N/A N/A index_ops N/A N/A N/A N/A N/A self connection ops geometry N/A N/A N/A N/A f dim 2 N/A N/A index_ops N/A N/A N/A style SQL_KEYWORD N/A self geom_index_ops_nd N/A N/A index_ops N/A N/A index_ops N/A N/A N/A style SQL_KEYWORD N/A self geom_index_ops N/A N/A N/A output append N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A style SQL_KEYWORD CREATE INDEX  N/A N/A style SQL_TABLE N/A qn N/A %s_%s_id N/A db_table N/A f column N/A N/A style SQL_KEYWORD  ON  N/A N/A style SQL_TABLE N/A qn db_table N/A N/A style SQL_KEYWORD  USING  N/A N/A style SQL_COLTYPE N/A self geom_index_type  (  N/A N/A style SQL_FIELD N/A qn N/A f column index_ops  ); N/A output N/A sql_table_creation_suffix N/A N/A self N/A N/A N/A N/A N/A self template_postgis None N/A N/A N/A  TEMPLATE %s N/A N/A N/A N/A N/A self connection ops quote_name N/A self template_postgis N/A N/A _create_test_db N/A N/A self verbosity autoclobber N/A N/A N/A test_database_name N/A N/A N/A super PostGISCreation self _create_test_db verbosity autoclobber N/A N/A N/A self template_postgis None N/A N/A N/A N/A N/A self connection close N/A N/A N/A N/A self connection settings_dict N/A NAME test_database_name N/A cursor N/A N/A N/A self connection cursor N/A N/A N/A cursor execute CREATE EXTENSION postgis N/A N/A N/A N/A cursor connection commit N/A test_database_name N/A N/A