Rename USE_SERVERSIDE_PROCESSING to HELPDESK_USE_SERVERSIDE_PROCESSING for consistency, correctly include local project override, and add documentation

This commit is contained in:
Garret Wassermann 2018-12-21 16:30:43 -05:00
parent b8f585dc03
commit 625a8e85f0
2 changed files with 6 additions and 1 deletions

View File

@ -89,6 +89,10 @@ These changes are visible throughout django-helpdesk
- **HELPDESK_ANON_ACCESS_RAISES_404** If True, redirects user to a 404 page when attempting to reach ticket pages while not logged in, rather than redirecting to a login screen. - **HELPDESK_ANON_ACCESS_RAISES_404** If True, redirects user to a 404 page when attempting to reach ticket pages while not logged in, rather than redirecting to a login screen.
**Default:** ``HELPDESK_ANON_ACCESS_RAISES_404 = False`` **Default:** ``HELPDESK_ANON_ACCESS_RAISES_404 = False``
- **HELPDESK_USE_SERVERSIDE_PROCESSING** If True, may improve performance by utilizing server-side processing of the full ticket list whenever performing queries on the ticket list. Set to False to restore the "classic" functionality using javascript.
**Default:** ``HELPDESK_USE_SERVERSIDE_PROCESSING = True``
Options shown on public pages Options shown on public pages

View File

@ -151,4 +151,5 @@ HELPDESK_ENABLE_PER_QUEUE_STAFF_PERMISSION = getattr(
# Asynchronous Datatables - Optional # Asynchronous Datatables - Optional
USE_SERVERSIDE_PROCESSING = True HELPDESK_USE_SERVERSIDE_PROCESSING = getattr(
settings, 'HELPDESK_USE_SERVERSIDE_PROCESSING', True)