kopia lustrzana https://github.com/wagtail/wagtail
Remove docs for WAGTAILSEARCH_RESULTS_TEMPLATE, WAGTAILSEARCH_RESULTS_TEMPLATE_AJAX
The templates they would override have been removed from our search app, and copies placed in the project template.pull/7225/head
rodzic
86b84a2010
commit
55fe295346
|
@ -344,10 +344,6 @@ These two files should reside in your project directory (``myproject/myproject/`
|
|||
# which welcomes users upon login to the Wagtail admin.
|
||||
WAGTAIL_SITE_NAME = 'My Project'
|
||||
|
||||
# Override the search results template for wagtailsearch
|
||||
# WAGTAILSEARCH_RESULTS_TEMPLATE = 'myapp/search_results.html'
|
||||
# WAGTAILSEARCH_RESULTS_TEMPLATE_AJAX = 'myapp/includes/search_listing.html'
|
||||
|
||||
# Replace the search backend
|
||||
#WAGTAILSEARCH_BACKENDS = {
|
||||
# 'default': {
|
||||
|
|
|
@ -58,16 +58,6 @@ Search
|
|||
|
||||
Define a search backend. For a full explanation, see :ref:`wagtailsearch_backends`.
|
||||
|
||||
``WAGTAILSEARCH_RESULTS_TEMPLATE``, ``WAGTAILSEARCH_RESULTS_TEMPLATE_AJAX``
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
WAGTAILSEARCH_RESULTS_TEMPLATE = 'myapp/search_results.html'
|
||||
WAGTAILSEARCH_RESULTS_TEMPLATE_AJAX = 'myapp/includes/search_listing.html'
|
||||
|
||||
Override the templates used by the search front-end views.
|
||||
|
||||
.. _wagtailsearch_hits_max_age:
|
||||
|
||||
``WAGTAILSEARCH_HITS_MAX_AGE``
|
||||
|
|
Ładowanie…
Reference in New Issue