예제 #1
0
def triggerOff(request):
    database = DB()
    database.disableTrigger()
    return redirect('/')
예제 #2
0
def triggerOff(request):
    database = DB()
    database.disableTrigger()
    return redirect(reverse('index') + '?message=Trigger is Off')