Add registry and cleanup files
This commit is contained in:
9
apps/sources/cleanup.py
Normal file
9
apps/sources/cleanup.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
|
||||
def cleanup():
|
||||
from .models import StagingFolder, WebForm, SourceTransformation
|
||||
|
||||
StagingFolder.objects.all().delete()
|
||||
WebForm.objects.all().delete()
|
||||
SourceTransformation.objects.all().delete()
|
||||
Reference in New Issue
Block a user