Ejemplo n.º 1
0
def delete_all():
    for pipeline in list(Pipeline.objects.all()):
        pipeline.delete()

    return back.redirect()
Ejemplo n.º 2
0
def delete(pipeline_id):
    pipeline = Pipeline.objects.get({'_id': ObjectId(pipeline_id)})
    pipeline.delete()

    return back.redirect()
Ejemplo n.º 3
0
def delete_all():
    for stop_words in StopWords.objects.all():
        stop_words.delete()
    return back.redirect()
Ejemplo n.º 4
0
def delete_all():
    for data_source in DataSource.objects.all():
        data_source.delete()
    return back.redirect()
Ejemplo n.º 5
0
def delete_all():
    for ace in list(ACE.objects.all()):
        ace.delete()

    return back.redirect()
Ejemplo n.º 6
0
def delete(ace_id):
    ace = ACE.objects.get({'_id': ObjectId(ace_id)})
    ace.delete()

    return back.redirect()