django-psdb-engine-1.0.6
توضیحات
Django PlanetScale database engine.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-psdb-engine-1.0.6 |
| نام | django-psdb-engine |
| نسخه کتابخانه | 1.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sadra Yahyapour |
| ایمیل نویسنده | lnxpylnxpy@gmail.com |
| آدرس صفحه اصلی | https://github.com/lnxpy/django-psdb-engine |
| آدرس اینترنتی | https://pypi.org/project/django-psdb-engine/ |
| مجوز | MIT license |
## django-psdb-engine
  
This package helps you interact with your [PlanetScale](https://planetscale.com) databases in your Django projects in an easier way.
### Usage
Install the package by running the following command.
```sh
pip install django-psdb-engine
```
And finally, update your `DATABASES` configuration and change the `ENGINE` field.
```python
DATABASES = {
'default': {
'ENGINE': 'django_psdb_engine',
...
'OPTIONS': {'ssl': {'ca': ...}}
}
}
```
**Note**: Since Django uses the `UTF-8` charset and it points to `utf8mb3` in MySQL and this charset is deprecated in MySQL 8, you may need to add `{"charset": "utf8mb4"}` and migrate your chanegs with no problem.
```diff
- 'OPTIONS': {'ssl': {'ca': ...}}
+ 'OPTIONS': {'ssl': {'ca': ...}, 'charset': 'utf8mb4'}
```
### Requirements
- django >= 2.2
- mysqlclient >= 2.1.0
### License
Free software: [MIT license](LICENSE)
نیازمندی
| مقدار | نام |
|---|---|
| >=2.2 | django |
| >=2.1.0 | mysqlclient |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl django-psdb-engine-1.0.6:
pip install django-psdb-engine-1.0.6.whl
نصب پکیج tar.gz django-psdb-engine-1.0.6:
pip install django-psdb-engine-1.0.6.tar.gz