ericholscher/minidetector — pull request #2 by SpencerCooley (2014-07-13 07:10:52+00:00)
Title: Capitalized middleware on line 141 of  __init__.py

I may be missing something but I am pretty sure that in the detect_mobile decorator middleware.process_request is supposed to be Middleware.process_request . It is the only way I got it to work without errors. It makes sense since process_request() is a method of the Middleware class.