Use space before and after operators,

`if request.method == 'GET':`

Also see PEP-8: http://legacy.python.org/dev/peps/pep-0008/