Skip to content

docs: Correct some evaluation results and a httpie option in Tutorial1#9421

Merged
auvipy merged 2 commits intoencode:masterfrom
wkwkhautbois:tutorial1-small-correction
Jun 2, 2024
Merged

docs: Correct some evaluation results and a httpie option in Tutorial1#9421
auvipy merged 2 commits intoencode:masterfrom
wkwkhautbois:tutorial1-small-correction

Conversation

@wkwkhautbois
Copy link
Contributor

Description

Fixed some evaluation results in django shell.

  • value from JSONRenderer().render(serializer.data) does not contain whitespace
  • retrurned type of serializer.validated_data is not OrderedDict but standard dict
  • in this tutorial, three snippets are obtained with http http://127.0.0.1:8000/snippets/

Added httpie option

  • --unsorted option is required to prevent response json sorted

@auvipy auvipy merged commit fbdab09 into encode:master Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants