Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f7a1597

Browse files
committed
Restore convenience import for haystack.utils.highlighter
1 parent 01310ed commit f7a1597

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

haystack/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from django.conf import settings
55

66
from haystack.constants import DJANGO_CT, DJANGO_ID, ID
7+
from haystack.utils.highlighting import Highlighter # noqa=F401
78

89
IDENTIFIER_REGEX = re.compile(r"^[\w\d_]+\.[\w\d_]+\.[\w\d-]+$")
910

0 commit comments

Comments
 (0)