#18990: 'manage.py loaddata' does not report if the loading file does not exist
-------------------------------------+-------------------------------------
Reporter: sergzach | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: 1.4
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: loaddata | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by d1ffuz0r):
Hmm. Every time the commands "loaddata" and "flush" trying to load the
'initial_data' fixture, how be with it. Ignore? Because that be generate
the errors. Setup "--no-initial-data" default value to False can break
backward compatibilities
django/core/management/commands/syncdb.py:
{{{
# Load initial_data fixtures (unless that has been disabled)
if load_initial_data:
call_command('loaddata', 'initial_data', verbosity=verbosity,
database=db, skip_validation=True)
}}}
----
Sorry for my English
--
Ticket URL: <https://code.djangoproject.com/ticket/18990#comment:6>
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 https://groups.google.com/groups/opt_out.