X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Fsettings%2Fbase.py;fp=htsworkflow%2Fsettings%2Fbase.py;h=dba1ab21b261a9400ebb16794037f5f24709431a;hb=928bea8121391cabde673a31de302825cc80cf12;hp=97518e0b44780d1a5ead1440c29649d6ccc0419f;hpb=57c98b7b2221fd367279873f50f4977596c5f20f;p=htsworkflow.git diff --git a/htsworkflow/settings/base.py b/htsworkflow/settings/base.py index 97518e0..dba1ab2 100644 --- a/htsworkflow/settings/base.py +++ b/htsworkflow/settings/base.py @@ -42,6 +42,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', + 'rest_framework', 'eland_config', 'samples', @@ -106,3 +107,9 @@ NOTIFICATION_BCC=[] # Update this in settings_local to point to your flowcell result directory RESULT_HOME_DIR = join(PROJECT_ROOT, 'test', 'result', 'flowcells') + + +REST_FRAMEWORK = { + 'DEFAULT_PAGINATION_SERIALIZER_CLASS': 'rest_framework.pagination.PaginationSerializer', + 'PAGINATE_BY' : 25, +}