ticket:3 pep8
Merge branch 't3_middleware'