Hi
Regards,
-- I've created a rest service using the APIView and created my own custom exception handler. I configured my custom exception handler in my settings.py file using:
REST_FRAMEWORK = {
'EXCEPTION_HANDLER': 'module.custom_exception_handler'
}
But when an exception is raised my custom exception handler is not invocked.
Regards,
Néstor
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/105ca293-2e02-450b-acce-a93eeb04923d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment