Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect stdout to stderr when running Django setup #383

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

noamsto
Copy link

@noamsto noamsto commented Nov 24, 2022

This prevents from a malformed JSON being created if any stdout output is made during Django setup, e.g.: print().

Signed-off-by: Noam Stolero nstolero@barracuda.com

@noamsto noamsto changed the title Redirect stdout to stderr when configuring Django Redirect stdout to stderr when running Django setup Nov 24, 2022
@coveralls
Copy link

coveralls commented Nov 24, 2022

Coverage Status

Coverage: 0.0%. Remained the same when pulling 69a39d7 on noamsto:redirect-stdout-while-loading-django-settings into b8217c1 on PyCQA:master.

@noamsto noamsto force-pushed the redirect-stdout-while-loading-django-settings branch from 768a49c to 789d82f Compare February 6, 2023 08:44
This prevents from a malformed JSON being created if any stdout output
is made during Django setup, e.g.: print().

Signed-off-by: Noam Stolero <nstolero@barracuda.com>
@noamsto noamsto force-pushed the redirect-stdout-while-loading-django-settings branch from 1384d1d to 5652449 Compare February 6, 2023 08:46
@carlio carlio force-pushed the master branch 5 times, most recently from aa6c7ee to 054b49a Compare May 15, 2023 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants