(request)
return dict(success=True,
                msg=_("Task difficulty removed"))
Remove assignment
Remove assignment
Remove assignment
def task_difficulty_delete(request):
    """Remove assignment"""
    task = __get_task(request)

    task.difficulty = None

    _ = request.translate
    return dict(success=True,
                msg=_("Task difficulty removed"))
def task_difficulty_delete ( request ) : task = __get_task ( request ) task . difficulty = None _ = request . translate return dict ( success = True , msg = _ ( "Task difficulty removed" ) )