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