Skip to content

Commit f7e497b

Browse files
rwhoggMariatta
andauthored
docs: add note in Django middleware documentation that it is unimplemented (#805)
Co-authored-by: Mariatta Wijaya <[email protected]>
1 parent 2df78c9 commit f7e497b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/google-cloud-ndb/google/cloud/ndb/django_middleware.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Django middleware for ``ndb``."""
15+
"""Django middleware for ``ndb``.
16+
17+
This class is not implemented and is no longer necessary.
18+
19+
To use Django middleware with NDB, follow the steps in
20+
https://cloud.google.com/appengine/docs/standard/python3/migrating-to-cloud-ndb#using_a_runtime_context_with_django
21+
"""
1622

1723

1824
__all__ = ["NdbDjangoMiddleware"]

0 commit comments

Comments
 (0)