Commit 1562d3d7 authored by John Red Medrano's avatar John Red Medrano

remove error handler

parent 961ca76a
......@@ -154,8 +154,8 @@ REST_FRAMEWORK = {
'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',),
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
# 'EXCEPTION_HANDLER': 'rest_framework.views.exception_handler',
'EXCEPTION_HANDLER': 'app.datalayer.serializer_handler.custom_exception_handler',
'EXCEPTION_HANDLER': 'rest_framework.views.exception_handler',
# 'EXCEPTION_HANDLER': 'app.datalayer.serializer_handler.custom_exception_handler',
'PAGE_SIZE': 10
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment