Update docs/advanced_topics/synonyms.md

pull/6798/head
Nick Smith 2021-02-06 09:16:50 +00:00 zatwierdzone przez GitHub
rodzic 49cd24b61c
commit faf9f8bb30
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -229,7 +229,7 @@ class CustomSearchConfig(AppConfig):
import customsearch.signal_handlers
```
In `settings.INSTALLED_APPS`, use `customsearch.apps.CustomSearchConfig`, rather than `customsearch`.
In `settings.INSTALLED_APPS`, use `"customsearch.apps.CustomSearchConfig"`, rather than `"customsearch"`.
### Use the cached value
@ -359,4 +359,3 @@ class SynonymTest(TestCase):
- [es_docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/analysis-synonym-tokenfilter.html)