def interrupt(request, account_id): from webinars_web.webinars import models as wm return syncs._interrupt(request, 'account', wm.Account.objects.get(pk=account_id))
def interrupt(request, hub_id): from webinars_web.webinars import models as wm return syncs._interrupt(request, 'hub', wm.Hub.objects.get(pk=hub_id))