mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 04:20:12 +03:00
Interactive documentation always uses false for boolean fields in requests
This commit is contained in:
parent
f585eee125
commit
b8565ca1a8
|
@ -129,7 +129,7 @@ $(function () {
|
|||
'false': false
|
||||
}[paramValue.toLowerCase()]
|
||||
if (value !== undefined) {
|
||||
params[paramKey]
|
||||
params[paramKey] = value
|
||||
}
|
||||
} else if (dataType === 'array' && paramValue) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user