no message
parent
a86327b073
commit
19b3923533
@ -0,0 +1,10 @@
|
||||
from django.core.management.base import BaseCommand
|
||||
import os
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
directory = './whoosh/index/'
|
||||
|
||||
if not os.path.exists(directory):
|
||||
os.makedirs(directory)
|
||||
Loading…
Reference in New Issue