Add registry and cleanup files
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from .models import RecentSearch
|
||||
|
||||
|
||||
def cleanup():
|
||||
RecentSearch.objects.all().delete()
|
||||
@@ -0,0 +1,6 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from .cleanup import cleanup
|
||||
|
||||
|
||||
cleanup_functions = [cleanup]
|
||||
Reference in New Issue
Block a user