#16802: Core management commands should have defined success/fail semantics
-------------------------------------+-------------------------------------
Reporter: jdunck | Owner: nobody
Type: New feature | Status: new
Milestone: | Component: Core
Version: 1.3 | (Management commands)
Keywords: | Severity: Normal
Has patch: 0 | Triage Stage:
Needs tests: 0 | Unreviewed
Easy pickings: 0 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
call_command('loaddata'...) does not throw an exception if loading the
fixture fails. I was trying to use this in a test runner, and it would
be nice to early-exit the runner if a fixture load fails.
It would be nice of call_command returned False or threw an exception upon
the command failing.
--
Ticket URL: <https://code.djangoproject.com/ticket/16802>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.