In one of my view, I'm passing additional data as query params in APIView delete method. I'm able to fetch the same using the request.query_params
in the view. But when I'm trying to test the same with DRF APIRequestFactory, the data is empty. Digging further through the APIRequestFactory code shows me that its only looking at request.data
and not on QUERY_STRING
. Is there any specific reason for this behaviour?
Asked
Active
Viewed 295 times
5
-
Did you ever get this resolved? – NotSimon Jul 22 '19 at 15:12
-
Im curious about that too... – Hafnernuss Jan 26 '20 at 18:54
1 Answers
0
This is an open issue on github and it has not solved yet. https://github.com/encode/django-rest-framework/issues/6488

Hamed Fathi
- 65
- 3
- 11