예제 #1
0
def delete_all():
    for pipeline in list(Pipeline.objects.all()):
        pipeline.delete()

    return back.redirect()
예제 #2
0
def delete(pipeline_id):
    pipeline = Pipeline.objects.get({'_id': ObjectId(pipeline_id)})
    pipeline.delete()

    return back.redirect()
예제 #3
0
def delete_all():
    for stop_words in StopWords.objects.all():
        stop_words.delete()
    return back.redirect()
예제 #4
0
파일: views.py 프로젝트: newsgac/platform
def delete_all():
    for data_source in DataSource.objects.all():
        data_source.delete()
    return back.redirect()
예제 #5
0
파일: views.py 프로젝트: newsgac/platform
def delete_all():
    for ace in list(ACE.objects.all()):
        ace.delete()

    return back.redirect()
예제 #6
0
파일: views.py 프로젝트: newsgac/platform
def delete(ace_id):
    ace = ACE.objects.get({'_id': ObjectId(ace_id)})
    ace.delete()

    return back.redirect()