Complete PEP8 on memberships/views.py