'Return the SQL snippet defining the foreign key reference for a field'

def sql_for_inline_foreign_key_references(self, field, known_models, style):

    qn = self.connection.ops.quote_name
    if (field.rel.to in known_models):
        output = [((((((style.SQL_KEYWORD('REFERENCES') + '    ') + style.SQL_TABLE(qn(field.rel.to._meta.db_table))) + '    (') + style.SQL_FIELD(qn(field.rel.to._meta.get_field(field.rel.field_name).column))) + ')') + self.connection.ops.deferrable_sql())]
        pending = False
    else:
        output = []
        pending = True
    return (output, pending)
