Support HTTP_X_FORWARDED_FOR
Mostly PEP8 and rm unused imports.
Update middleware.py

I get the error 'BanishMiddleware' object has no attribute 'BANNED_USER_AGENTS' just after adding a user agent ban and restart, I check the code and see this typo.
This change fix this typo.
Merge pull request #3 from philipn/pep8_and_cleanup

Mostly PEP8 and rm unused imports. Closes issue #3
Merge pull request #2 from djedi/patch-1

Support HTTP_X_FORWARDED_FOR
Documentation and middleware.py had same typo - so worked if you copy/pasted config (but still a typo). Correcting. Will probably break existing installs that use previous setting name. Update w/care. Closes #1.
fix formatting in Readme.MD
Merge pull request #8 from DavidToca/patch-1

Update middleware.py. Fixes #8
fix typo in debug log message
Handle empty UserAgent header and make banning those requests configurable. Fixes #4
fix typo in models that got introduced as part of pep8 cleanup (commit: 6a411334f51e95c6471759edbf43b6c6709d57f5) and bump version in setup.py
add custom banish message. Fixes #6