📝 remove IDE-added reference
This commit is contained in:
parent
81a8cd1ee7
commit
1a4aafd773
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue