def METHOD_NAME(self, request, *args, **kwargs):
    hashes = request.session.METHOD_NAME('pretix_unlock_hashes', [])
    hashes.append(kwargs.METHOD_NAME('hash'))
    request.session['pretix_unlock_hashes'] = hashes
    return redirect(eventreverse(self.request.event, 'presale:event.index'))