def METHOD_NAME(self):
    """PUT is forbidden"""
    # get object
    taskpriority_api_1 = Taskpriority.objects.get(taskpriority_name='tp_1')
    # login testuser
    self.client.login(
        username='testuser_taskpriority_api', password='XyVSKtfXKwyyprt2b8Ej'
    )
    # create url
    destination = urllib.parse.quote(
        '/api/taskpriority/' + str(taskpriority_api_1.taskpriority_id) + '/',
        safe='/',
    )
    # create PUT string
    putstring = {"taskpriority_name": "tp_3"}
    # get response
    response = self.client.put(
        destination, data=putstring, content_type='application/json'
    )
    # compare
    self.assertEqual(response.status_code, 405)