Skip to content

Commit

Permalink
docs: add note in Django middleware documentation that it is unimplem…
Browse files Browse the repository at this point in the history
…ented (#805)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
  • Loading branch information
rwhogg and Mariatta authored Oct 17, 2022
1 parent 7d8cf65 commit aa7621d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion google/cloud/ndb/django_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit aa7621d

Please sign in to comment.