Pull Request已成功合入, 合并人@opengauss_bot
(感谢 Yhw050920 的贡献)Welcome To openGauss Community
Hey @hongwei-2026 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: Infra ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @ailoooong, @gzbang, @libiao2024, @zhangxubo .


@hongwei-2026 单 commit 要求检查:本 PR 合入时包含 7 个 commits,不符合“每个 PR 最终只保留 1 个 commit”的统一要求。
该 PR 已经合入,现有历史无法再通过源分支 squash 修正,因此这里只记录历史不符合项,不要求对已合入 PR 强行改写。后续任务 PR 必须在合入前将本 PR 的全部改动整理为一个 commit,并确认 PR 提交列表只剩 1 条。


关联 Issue
https://gitcode.com/opengauss/opensource-intership/issues/34
对应开源实习任务:[开源实习] openGauss B库B协议适配MySQL python orm框架 Django #34(20 分)。
背景与目标
openGauss 通过 dolphin 插件提供 MySQL 协议兼容。本 PR 提供 Django + PyMySQL 示例,验证经 dolphin(3308)连接 openGauss B 兼容模式 的原生 ORM CRUD。
默认使用原生 django.db.backends.mysql;依赖 Plugin:
变更说明
测试环境(2026-09-14 复验)
验收截图
1. 版本信息(openGauss / Django / PyMySQL)
2. Plugin !2524 GUC(default_storage_engine=InnoDB,sql_auto_is_null=0)
3. 原生 Django Demo(含特殊字符 O'Brien\test,输出 DEMO_OK)
配套 PR
当前PR是否有AI参与:
希望检视人员了解: