docker file fix

This commit is contained in:
2018-04-01 15:42:18 +02:00
parent 19b3923533
commit 395df2d245
4 changed files with 3 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
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)