Skip to content

Commit

Permalink
use djangorestframework-custom-paginations>=1.2.0 for the compatibili…
Browse files Browse the repository at this point in the history
…ty with drf 3.3
  • Loading branch information
dotmobo committed Mar 30, 2017
1 parent 5ec351e commit f676768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions hypnos/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,10 @@
'rest_framework_fine_permissions.permissions.FilterPermission',
),
'EXCEPTION_HANDLER': 'rest_framework_custom_exceptions.exceptions.simple_error_handler',
'DEFAULT_PAGINATION_SERIALIZER_CLASS': 'rest_framework_custom_paginations.paginations.SporePaginationSerializer'
'DEFAULT_PAGINATION_CLASS': 'rest_framework_custom_paginations.class.SporePagination'
}

########
# Tests#
########
TEST_RUNNER = 'django.test.runner.DiscoverRunner'

2 changes: 1 addition & 1 deletion requirements/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ six
chaussette
psycopg2
djangorestframework-custom-exceptions
djangorestframework-custom-paginations
djangorestframework-custom-paginations>=1.2.0
djangorestframework-custom-filters

0 comments on commit f676768

Please sign in to comment.