📝 remove IDE-added reference

This commit is contained in:
Joe Kaufeld 2024-10-30 12:10:52 -04:00
parent 81a8cd1ee7
commit 1a4aafd773

View file

@ -1,5 +1,3 @@
from spiderweb import HttpResponse
# writing your own middleware # writing your own middleware
Sometimes you want to run the same code on every request or every response (or both!). Lots of processing happens in the middleware layer, and if you want to write your own, all you have to do is write a quick class and put it in a place that Spiderweb can find it. A piece of middleware only needs two things to be successful: Sometimes you want to run the same code on every request or every response (or both!). Lots of processing happens in the middleware layer, and if you want to write your own, all you have to do is write a quick class and put it in a place that Spiderweb can find it. A piece of middleware only needs two things to be successful: