Request for API documentation #9491
-
I'd like documentation about Documentation page doesn't explain what this attribute is for and what values for it are viable. I've found only one usage of this attribute in source code. It will still be great if this parameter's usage is explicitly documented. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The value comes from here: https://github.com/encode/django-rest-framework/blob/master/rest_framework%2Fnegotiation.py#L40-L45 So I think it's when you call your endpoint like this:
And so on... DRF can use this format override to filter suitable renderers, in the piece of code that you found. |
Beta Was this translation helpful? Give feedback.
The value comes from here:
https://github.com/encode/django-rest-framework/blob/master/rest_framework%2Fnegotiation.py#L40-L45
So I think it's when you call your endpoint like this:
And so on...
DRF can use this format override to filter suitable renderers, in the piece of code that you found.