From 1a4aafd773b908c2a81fd588595092b69b3da549 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Wed, 30 Oct 2024 12:10:52 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20remove=20IDE-added=20reference?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/middleware/custom_middleware.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/middleware/custom_middleware.md b/docs/middleware/custom_middleware.md index a195a70..0d1effa 100644 --- a/docs/middleware/custom_middleware.md +++ b/docs/middleware/custom_middleware.md @@ -1,5 +1,3 @@ -from spiderweb import HttpResponse - # 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: