[Answered ]-How to get return value !=0 out of Django shell in case of error

2👍

As a possible workaround, you can write custom management command which accepts whatever you want and returns any code you want.

Leave a comment