Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Start rewrite of processor views
- fix: Return HTTP error code instead of HTTP 200 with a JSON error message - fix: Use GET method for idempotent dataset_id endpoint, instead of POST method - fix: Return JSON response from all app endpoints, instead of plain-text response - chore: Use Django's require_POST decorator instead of custom code (HTTP 405 instead of HTTP 400) - chore: Remove unnecessary safe=False argument to JsonResponse
- Loading branch information
1 parent
47760e6
commit 0481513
Showing
4 changed files
with
29 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters