This module contains utilities for searching.
Takes a search string and parses it into a list of keywords and phrases.
Generate a dictionary of pages to show around the current page. Show 3 numbers on either side of the specified page, or more if close to end or beginning of available pages.
Parameters: |
|
---|---|
Return type: | dictionary; keys are page numbers, values are page labels |
Django template tag to display pagination links for a paginated list of items.
Example use:
{% load search_utils %}
{% pagination_links paged_items show_pages %}