示例#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')