From aa7621dba3b5c32141cdcb1d07829a217bb8b0bd Mon Sep 17 00:00:00 2001 From: "Bob \"Wombat\" Hogg" Date: Mon, 17 Oct 2022 19:31:30 -0400 Subject: [PATCH] docs: add note in Django middleware documentation that it is unimplemented (#805) Co-authored-by: Mariatta Wijaya --- google/cloud/ndb/django_middleware.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/google/cloud/ndb/django_middleware.py b/google/cloud/ndb/django_middleware.py index dfb64210..361c2a00 100644 --- a/google/cloud/ndb/django_middleware.py +++ b/google/cloud/ndb/django_middleware.py @@ -12,7 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Django middleware for ``ndb``.""" +"""Django middleware for ``ndb``. + +This class is not implemented and is no longer necessary. + +To use Django middleware with NDB, follow the steps in +https://cloud.google.com/appengine/docs/standard/python3/migrating-to-cloud-ndb#using_a_runtime_context_with_django +""" __all__ = ["NdbDjangoMiddleware"]