We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a3654 commit fcae99cCopy full SHA for fcae99c
docs/middleware/conditional_get_middleware.md
@@ -0,0 +1,10 @@
1
+# AsyncConditionalGetMiddleware
2
+
3
+it works exactly like django's [ConditionalGetMiddleware](https://docs.djangoproject.com/en/5.1/ref/middleware/#module-django.middleware.http)
4
+except that it's fully async
5
6
+### Usage:
7
+remove django's `django.middleware.http.ConditionalGetMiddleware` from the `MIDDLEWARE` setting and add
8
+`django_async_extensions.middleware.http.AsyncConditionalGetMiddleware` in it's place.
9
10
+**note**: this middleware like other middlewares provided in this package can work alongside sync middlewares, and can handle sync views.
0 commit comments