def METHOD_NAME(request, macwatchid):
    """Delete tuple for mac address watch"""
    account = get_account(request)
    # Delete tuple based on url
    if macwatchid:
        # Captured args are always strings. Make it int.
        macwatchid = int(macwatchid)
        try:
            m = MacWatch.objects.get(id=macwatchid)
        except Exception as e:
            messages = [e]
            return do_list(request, messages)
        if request.method == 'POST':
            if request.POST['submit'] == 'Yes':
                try:
                    m.delete()
                    return HttpResponseRedirect('/macwatch/')
                except Exception as e:
                    messages = [e]
                    return do_list(request, messages)
            else:
                return HttpResponseRedirect('/macwatch/')
        else:
            info_dict = populate_info_dict(account)
            info_dict['macwatch'] = m
            return render(request, 'macwatch/deletemacwatch.html', info_dict)
    return HttpResponseRedirect('/macwatch/')