My Django application needs to have a transaction refund function. therefor I created the following snipped at admin.py:
def mark_refunded(modeladmin, request