Skip to main content

Django PlanetScale database engine.

Project description

django-psdb-engine

https://img.shields.io/pypi/v/django_psdb_engine.svg https://img.shields.io/travis/lnxpy/django_psdb_engine.svg Documentation Status

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 charest 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

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

django_psdb_engine-1.0.1.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file django_psdb_engine-1.0.1.tar.gz.

File metadata

  • Download URL: django_psdb_engine-1.0.1.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

Hashes for django_psdb_engine-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fb58480343b9e15dae46c7084592d3299acfda7dcbb0d55e55afa14f163c45b1
MD5 6fa151c08a0e0d9abd29de05b964abf1
BLAKE2b-256 d2d93a319cf39f5703cdbd53ca1204a138e0d9567a536c8762eea1bc918ff7c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page