﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30305	Feature to set the returncode of a django custom command	stephanm	nobody	"In the docs:

https://docs.djangoproject.com/en/2.1/howto/custom-management-commands/#django.core.management.BaseCommand.handle

I can see that the `handle()` function will return a string which goes to stdout.

But I would like to set (supplementary) an integer returncode like its done in `sys.exit()` see https://docs.python.org/3/library/sys.html#sys.exit

I didn't find any ""official"" way to do this, perhaps this is a new feature.

Thanks."	Uncategorized	closed	Uncategorized	dev	Normal	invalid			Unreviewed	0	0	0	0	0	0
