Add registry and cleanup files

This commit is contained in:
Roberto Rosario
2012-10-05 03:04:32 -04:00
parent d2f1490516
commit 065bfd9136
24 changed files with 218 additions and 0 deletions
+9
View 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()
+6
View File
@@ -0,0 +1,6 @@
from __future__ import absolute_import
from .cleanup import cleanup
cleanup_functions = [cleanup]