Opened 4 years ago
Closed 4 years ago
#32094 closed Bug (fixed)
flush() on self.stdout/stderr management commands doesn't work.
Reported by: | Thomas Riccardi | Owned by: | Thomas Riccardi |
---|---|---|---|
Component: | Core (Management commands) | Version: | 3.1 |
Severity: | Normal | Keywords: | command flush migration |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
flush()
is notably called during migrate
command; it doesn't work, and a long migration effectively prints to stderr
no relevant information up until the end:
Operations to perform: Apply all migrations: myapp Running migrations:
Then nothing more, but the migration is being done.
Then at the end of the real migration, the rest is flushed:
Applying myapp.0002_auto_20200817_1030... OK
Expected behavior:
Operations to perform: Apply all migrations: myapp Running migrations: Applying myapp.0002_auto_20200817_1030...
then work
then OK
Change History (3)
comment:1 by , 4 years ago
Summary: | flush() on self.stdout/stderr management commands doesn't work (notably called during migrate command) → flush() on self.stdout/stderr management commands doesn't work. |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
comment:2 by , 4 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Thanks. Regression in dc8834cad41aa407f402dc54788df3cd37ab3e22.
PR