I think call_command should return something significant
to let the caller know if the command was successful or not.

Another issue ralated to this is: having an error retcode when calling management commands from
commandline

The problem now is that for instance loaddata swallows all exceptions and only spits them out to stderr
without exiting sys.exit(1)

that's not good if you use loaadata command from a script.

Do you agree?

should I submit a ticket (I could not find any on django trac)?

Marco

--
You received this message because you are subscribed to the Google Groups "Django 
developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to