Commits

Anonymous committed 9b64ec6

Fixed a type - with thanks to Martijn

Comments (0)

Files changed (1)

src/django_fanstatic/middleware.py

 
     def process_request(self,request):
         if not isinstance(request,WSGIRequest):
-            raise Exception("FanstaticMiddelwheres only work under a WSGI based server")
+            raise Exception("FanstaticMiddleware only work under a WSGI based server")
 
         if not request.method in ['GET', 'POST']:
             return # nothing to do