def post_create_sql(self, style, db_table):

        # Getting the AddGeometryColumn() SQL necessary to create a PostGIS
        # geometry field.
        post_sql = self._add_geom(style, db_table)

        # If the user wants to index this data, then get the indexing SQL as well.
        if self.spatial_index:
            return (post_sql, self._geom_index(style, db_table))
        else:
            return (post_sql,)
Registers a data server in the master.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/gis/db/backend/postgis/field.py/PostGISField.post_create_sql--crossover with--dataset/ETHPy150Open google/grr/grr/server/data_server/data_server.py/DataServerHandler.HandleRegister