The Django ORM is a powerful standalone component of the Django web framework that maps Python objects to relational data. It provides a Pythonic interface to the underlying database, and includes tools for automatically generating schema changes and managing schema version history.
The django-google-spanner package is a third-party database backend for using Spanner with the Django ORM, powered by the Spanner Python client library.
With this integration, Django applications can take advantage of Spanner's high availability and consistency at scale.
Install, configure, and use
Refer to the django-google-spanner documentation for instructions on installing and configuring your environment.
What's next
- Read our blog post for a walkthrough and insight into how the code is designed.
- See code examples using Django with Spanner.
- Learn more about the Django project.
- Learn more about DB API.
- File a GitHub issue to report a bug or ask a question about using the Django ORM with Spanner.