diff options
| author | Stephan Groß | 2012-11-15 11:15:05 +0100 | 
|---|---|---|
| committer | Stephan Groß | 2012-11-15 11:15:05 +0100 | 
| commit | 38e94bb8b4e04249b18b9b57ef2ddcb7cfc4efa4 (patch) | |
| tree | 5fe4e3155b5641ca66818344573d49c04bf9daaf /rest_framework/settings.py | |
| parent | 5967f15f7f5c87987ab60e4b7dc682b06f3ab511 (diff) | |
| download | django-rest-framework-38e94bb8b4e04249b18b9b57ef2ddcb7cfc4efa4.tar.bz2 | |
added global and per resource on/off switch + updated docs
Diffstat (limited to 'rest_framework/settings.py')
| -rw-r--r-- | rest_framework/settings.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/rest_framework/settings.py b/rest_framework/settings.py index 906a7cf6..1daa9dfd 100644 --- a/rest_framework/settings.py +++ b/rest_framework/settings.py @@ -66,7 +66,9 @@ DEFAULTS = {      'URL_ACCEPT_OVERRIDE': 'accept',      'URL_FORMAT_OVERRIDE': 'format', -    'FORMAT_SUFFIX_KWARG': 'format' +    'FORMAT_SUFFIX_KWARG': 'format', + +    'ALLOW_PAGE_SIZE_PARAM': True  } | 
