minor cleanup

This commit is contained in:
smilerz
2021-08-13 11:23:47 -05:00
parent 170673f467
commit 5d8ebc513a
6 changed files with 17 additions and 17 deletions

View File

@ -6,7 +6,6 @@ from django.db import models
from django.db.models import Q
from django.utils import translation
# TODO move this somewhere else and delete this file
DICTIONARY = {
# TODO find custom dictionaries - maybe from here https://www.postgresql.org/message-id/CAF4Au4x6X_wSXFwsQYE8q5o0aQZANrvYjZJ8uOnsiHDnOVPPEg%40mail.gmail.com
# 'hy': 'Armenian',
@ -22,8 +21,6 @@ DICTIONARY = {
}
# TODO add search highlighting
# TODO add language support
# TODO add schedule index rebuild
class RecipeSearchManager(models.Manager):
def search(self, search_text, space):