-
-
Notifications
You must be signed in to change notification settings - Fork 11
Add support for Django REST Framework #3
Copy link
Copy link
Closed
Description
The class DefaultDjangoContextBuilder of the error_tracker.django.utils needs some extensions. In particular, in case of Django REST Framework (DRF), the request instance has no POST (request.POST is empty dict). Instead data is stored in request.data. You could simply check, if it's instance of rest_framework.request.Request, then handle as DRF request, otherwise standard Django.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels