'Helper method for sending a DELETE to the server. Verifies the expected status and returns the response.'

def send_delete(self, client, url, expected_status=204):

    response = client.delete(url)
    self.assertEqual(expected_status, response.status_code)
    return response
