mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #18325 -- Wrapped self.stdout/stderr in OutputWrapper class
This commit is contained in:
parent
078ea51b1c
commit
822d6d6dab
11 changed files with 72 additions and 54 deletions
|
@ -61,7 +61,7 @@ look like this:
|
|||
poll.opened = False
|
||||
poll.save()
|
||||
|
||||
self.stdout.write('Successfully closed poll "%s"\n' % poll_id)
|
||||
self.stdout.write('Successfully closed poll "%s"' % poll_id)
|
||||
|
||||
.. note::
|
||||
When you are using management commands and wish to provide console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue