Use CommandError instead of stderr/return in commands--Django will do the rest!