X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/26ae84cfef946f135a2b2ea91e6af4dd05048750..f59de09387c7ceb7d6ab2ccf6ea25cb4be8dacb5:/src/wolnelektury/settings/contrib.py?ds=inline diff --git a/src/wolnelektury/settings/contrib.py b/src/wolnelektury/settings/contrib.py index e5b2f60d6..1e74dbf43 100644 --- a/src/wolnelektury/settings/contrib.py +++ b/src/wolnelektury/settings/contrib.py @@ -24,7 +24,7 @@ PAYPAL_ENABLED = True REST_FRAMEWORK = { "DEFAULT_RENDERER_CLASSES": ( 'rest_framework.renderers.JSONRenderer', - 'rest_framework.renderers.BrowsableAPIRenderer', + #'rest_framework.renderers.BrowsableAPIRenderer', 'api.renderers.LegacyXMLRenderer', ), 'DEFAULT_AUTHENTICATION_CLASSES': ( @@ -33,7 +33,7 @@ REST_FRAMEWORK = { 'rest_framework.authentication.SessionAuthentication', ), 'DEFAULT_PAGINATION_CLASS': 'api.pagination.WLLimitOffsetPagination', - 'PAGE_SIZE': 10, + 'PAGE_SIZE': 20, 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.NamespaceVersioning', } @@ -43,13 +43,6 @@ DEBUG_TOOLBAR_CONFIG = { } -HAYSTACK_CONNECTIONS = { - 'default': { - 'ENGINE': 'haystack.backends.simple_backend.SimpleEngine', - }, -} - - FORMS_BUILDER_USE_SITES = False FORMS_BUILDER_EDITABLE_FIELD_MAX_LENGTH = True FORMS_BUILDER_EDITABLE_SLUGS = True