GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-python-connector

Provide samples for using Python Connector with Django

オープン
#437 コメント 22 件 リアクション 18 件 担当者 1 名 @kgala2 に割り当て済み GitHub で見る
priority: p1 type: cleanup type: docs
主要言語
Python
スター
344
フォーク
89
平均マージ
5時間 33分
マージ済み PR(30日)
2

説明

[Django](https://www.djangoproject.com/) is one of the most widely used Python web frameworks. We should look at providing samples on how to connect to a Cloud SQL database using the Python Connector and Django.

What makes this a more difficult feat is that the default [Django backend](https://docs.djangoproject.com/en/4.1/ref/databases/) for Postgres is [`psycopg2`](https://github.com/psycopg/psycopg2) and for MySQL is [`mysqlclient`](https://github.com/PyMySQL/mysqlclient) or [`mysql-connector-python`](https://github.com/mysql/mysql-connector-python), which are not currently supported with the Python Connector.

- [Django Postgres](https://docs.djangoproject.com/en/4.1/ref/databases/#postgresql-notes)
- [Django MySQL](https://docs.djangoproject.com/en/4.1/ref/databases/#mysql-db-api-drivers)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。