def triggerOn(request): database = DB() database.enableTrigger() return redirect('/')
def triggerOn(request): database = DB() database.enableTrigger() return redirect(reverse('index') + '?message=Trigger is on')