Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #18990: Loaddata now complains if fixture doesn't exist #1134

Merged
merged 3 commits into from
May 19, 2013
Merged

Fixed #18990: Loaddata now complains if fixture doesn't exist #1134

merged 3 commits into from
May 19, 2013

Conversation

senko
Copy link
Contributor

@senko senko commented May 18, 2013

The fixture named "initial_data" is exceptional though; if it
doesn't exist, the error is not raised. This allows syncdb and
flush management commands to attempt to load it without causing
an error if it doesn't exist.

This pull request fixes https://code.djangoproject.com/ticket/18990

senko added 3 commits May 19, 2013 10:56
The fixture named "initial_data" is exceptional though; if it
doesn't exist, the error is not raised. This allows syncdb and
flush management commands to attempt to load it without causing
an error if it doesn't exist.
If the fixture doesn't exist, loaddata will output a warning.

The fixture named "initial_data" is exceptional though; if it
doesn't exist, the warning is not emitted. This allows syncdb and
flush management commands to attempt to load it without causing
spurious warnings.

Thanks to Derega, ptone, dirigeant and d1ffuz0r for contributions
to the ticket.
andrewgodwin added a commit that referenced this pull request May 19, 2013
Fixed #18990: Loaddata now complains if fixture doesn't exist
@andrewgodwin andrewgodwin merged commit 7a99d1e into django:master May 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants