mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 04:54:00 +03:00
small fix to API documentation: schemas (#5796)
adding missing parameters to get_manual_fields()
This commit is contained in:
parent
df77f7bb9d
commit
2fa04caf7c
|
@ -631,7 +631,7 @@ def get_manual_fields(self, path, method):
|
|||
if method=='POST':
|
||||
extra_fields = # ... list of extra fields for POST ...
|
||||
|
||||
manual_fields = super().get_manual_fields()
|
||||
manual_fields = super().get_manual_fields(path, method)
|
||||
return manual_fields + extra_fields
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user