def METHOD_NAME(app, stage):
    """
    Look for SQL files in Django app, and load them into database.
    """
    if 'geotrek' not in app.name:
        return
    sql_dir = os.path.normpath(os.path.join(app.path, 'templates', app.label, 'sql'))
    custom_sql_dir = os.path.join(settings.VAR_DIR, 'conf', 'extra_sql', app.label)
    sql_files = []
    r = re.compile(r'^{}_.*\.sql$'.format(stage))
    if os.path.exists(sql_dir):
        sql_files += [
            os.path.join(sql_dir, f) for f in os.listdir(sql_dir) if r.match(f) is not None
        ]
    if os.path.exists(custom_sql_dir):
        sql_files += [
            os.path.join(custom_sql_dir, f) for f in os.listdir(custom_sql_dir) if r.match(f) is not None
        ]
    sql_files.sort()
    schemas = settings.DATABASE_SCHEMAS
    schema_app = schemas.get(app.name)
    schema = schema_app if schema_app else schemas.get('default', 'public')
    schema_django = schemas.get('django')
    schema_django = schema_django if schema_django else schemas.get('default', 'public')
    cursor = connection.cursor()
    for sql_file in sql_files:
        try:
            logger.info("Loading initial SQL data from '%s'" % sql_file)
            template = get_template(sql_file)
            context_settings = settings.__dict__['_wrapped'].__dict__
            context = dict(
                schema_geotrek=schema,
                schema_django=schema_django,
                spatial_reference=spatial_reference()
            )
            context.update(context_settings)
            rendered_sql = template.render(context)
            cursor.execute(rendered_sql)
        except Exception as e:
            logger.critical("Failed to install custom SQL file '%s': %s\n" %
                            (sql_file, e))
            traceback.print_exc()
            raise