Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Commite42eb42
Don't make the content mandatory in the generic content form (#5372)
Sometimes, probably in the upgrade from Django 1.9 to 1.10, a post withempty content is forbidden by javascript, with the message "Please fillin this field". Filling the form with '{}' allows an application/jsonrequest to be submitted.The API call itself works perfectly well with a post with empty content:the interface shouldn't make assumptions about it.1 parent7cd5914 commite42eb42
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
| 583 | + | |
583 | 584 | | |
584 | 585 | | |
585 | 586 | | |
| |||
0 commit comments
Comments
(0)