Commit b75e8bff authored by Michal Čihař's avatar Michal Čihař

Group imports from same module

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 318fd586
......@@ -22,18 +22,18 @@
Whoosh based full text search.
'''
import shutil
from whoosh.fields import SchemaClass, TEXT, ID
from whoosh.filedb.filestore import FileStorage
from whoosh.writing import AsyncWriter, BufferedWriter
from whoosh import qparser
from django.dispatch import receiver
from django.db.models.signals import post_migrate
from django.db.utils import IntegrityError
from django.db import transaction
from weblate import appsettings
from whoosh.writing import AsyncWriter, BufferedWriter
from django.dispatch import receiver
from weblate.lang.models import Language
from weblate.trans.data import data_dir
import shutil
STORAGE = FileStorage(data_dir('whoosh'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment