Hello,

I followed what is describe in the docs here 
: 
https://docs.djangoproject.com/en/1.9/topics/testing/tools/#management-commands
but all I got is an empty string in my *out.getvalue()*.

>From what I understand from  Django code here 
<https://github.com/django/django/blob/master/django/core/management/base.py#L339>,
 
it does not capture the output (ie: sys.stdout.write("blah blah")) but the 
*return 
value *of my command. It doesn't make sense to me, there's no point 
returning a value in a management command.

Am I missing something? Is the documentation wrong or is it a bug ?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a1eee8c9-dcf7-4b43-a639-1a1c9b8380c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to