Django PlanetScale database engine.
Project description
django-psdb-engine
Django PlanetScale database engine. This package is a better solution for planetscale/django_psdb_engine.
Free software: MIT license
Usage
Make this database engine ready in two simple steps. First thing first, install the package.
$ pip install django-psdb-engine
And finally, update your databases configuration by changing the ENGINE field.
DATABASES = {
'default': {
'ENGINE': 'django_psdb_engine',
...
'OPTIONS': {'ssl': {'ca': ...}}
}
}
Note: Since Django uses the default utf8bm3 charset for your tables and it’s not supported by PlanetScale’s engine yet, you may need to add {"charset": "utf8bm4"} in order to migrate your changes and get it work.
Requirements
django>=2.2
mysqlclient>=2.1.0
History
1.0.0 (2022-08-12)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django_psdb_engine-1.0.3.tar.gz
.
File metadata
- Download URL: django_psdb_engine-1.0.3.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b96c57ad6ed508b1ff406b3be98e91b1f3ec1aa920f9abdac2fdcc272572b70 |
|
MD5 | 1661b5c7607cc684026249c8e4b40023 |
|
BLAKE2b-256 | d1e72a7ad58f8deeed77fae29ab92fff8787ee0802c94bab9638fdd5b1707fb2 |