#21549: Fixture loading warning when the file is not found should be an
exception
-------------------------------------+-------------------------------------
Reporter: mpasternak | Owner:
Type: | Status: new
Cleanup/optimization |
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* owner: bugZPDX =>
* status: assigned => new
* type: Bug => Cleanup/optimization
* easy: 0 => 1
Comment:
The idea is to change
[https://github.com/django/django/blob/98839e906632dfe77c6f6906d61d62868a0541dc/django/core/management/commands/loaddata.py#L241-L243
the warning] to `CommandError`. The warning about "No fixture data found"
in that same file might be able to be changed as well. Some tests will
need to be adapted and we'll need a mention in the release notes.
--
Ticket URL: <https://code.djangoproject.com/ticket/21549#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.555bf0df5a6fc9523485f852cdf8f2a5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.