Add default pagination settings for rest framework.

remotes/origin/enhancement/email-actions
Andrey Antukh 2013-10-10 16:45:56 +02:00
parent ab3e2b5336
commit 81fcc4351a
1 changed files with 2 additions and 0 deletions

View File

@ -294,6 +294,8 @@ REST_FRAMEWORK = {
'greenmine.base.users.auth.SessionAuthentication',
),
'FILTER_BACKEND': 'greenmine.base.filters.FilterBackend',
'PAGINATE_BY': 50,
'MAX_PAGINATE_BY': 1000,
}
from .appdefaults import *