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