@@ -13,12 +13,12 @@ To use this library you'll need a Google Cloud Platform project with the Cloud
1313Spanner API enabled. See the `Cloud Spanner Python client docs
1414<https://github.com/googleapis/python-spanner/#quick-start> `__ for details.
1515
16- Use the version of ``python-spanner-django `` that corresponds to your version
17- of Django. For example, ``python-spanner-django `` 2.2.x works with Django
16+ Use the version of ``django-google-spanner `` that corresponds to your version
17+ of Django. For example, ``django-google-spanner `` 2.2.x works with Django
18182.2.y. (This is the only supported version at this time.)
1919
2020The minor release number of Django doesn't correspond to the minor release
21- number of ``python-spanner-django ``. Use the latest minor release of each.
21+ number of ``django-google-spanner ``. Use the latest minor release of each.
2222
2323To install from PyPI:
2424
@@ -96,7 +96,7 @@ Limitations
9696Transaction management isn't supported
9797~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9898
99- ``python-spanner-django `` always works in ``autocommit `` mode, which is
99+ ``django-google-spanner `` always works in ``autocommit `` mode, which is
100100Django's default behavior even for backends that support manual transaction
101101management. Transactions cannot be controlled manually with calls like
102102``django.db.transaction.atomic() ``.
@@ -105,7 +105,7 @@ management. Transactions cannot be controlled manually with calls like
105105~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106106
107107Spanner doesn't have support for auto-generating primary key values.
108- Therefore, ``python-spanner-django `` monkey-patches ``AutoField `` to generate a
108+ Therefore, ``django-google-spanner `` monkey-patches ``AutoField `` to generate a
109109random UUID4. It generates a default using ``Field ``'s ``default `` option which
110110means ``AutoField ``\ s will have a value when a model instance is created. For
111111example:
@@ -126,7 +126,7 @@ were created.
126126~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
127127
128128Spanner doesn't support ``ON DELETE CASCADE `` when creating foreign-key
129- constraints so ``python-spanner-django `` `doesn't support foreign key
129+ constraints so ``django-google-spanner `` `doesn't support foreign key
130130constraints
131131<https://github.com/googleapis/python-spanner-django/issues/313> `__.
132132
@@ -177,7 +177,7 @@ Spanner has some limitations on schema changes which you must respect:
177177- Renaming tables and columns isn't supported.
178178- A column's type can't be changed.
179179- A table's primary key can't be altered.
180- - Migrations aren't atomic since ``python-spanner-django `` doesn't support
180+ - Migrations aren't atomic since ``django-google-spanner `` doesn't support
181181 transactions.
182182
183183``DurationField `` arithmetic doesn't work with ``DateField `` values (`#253 <https://github.com/googleapis/python-spanner-django/issues/253 >`__)
0 commit comments