Fixes #145.

A note regarding admin.py:
- 1 change to display ip address column
- the rest of the changes resolve pep8 warnings