'By default, the test client is CSRF exempt.'

def test_csrf_exempt_by_default(self):

    User.objects.create_user(u'example', u'example@example.com', u'password')
    self.client.login(username=u'example', password=u'password')
    response = self.client.post(u'/view/')
    assert (response.status_code == 200)
