[django/django] cc3b3b: Fixed #18990: Loaddata now complains if fixture do...

3 views
Skip to first unread message

GitHub

unread,
May 19, 2013, 6:54:31 AM5/19/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: cc3b3ba93a7bfdd2ece739e97e36150a719acd3e
https://github.com/django/django/commit/cc3b3ba93a7bfdd2ece739e97e36150a719acd3e
Author: Senko Rasic <senko...@dobarkod.hr>
Date: 2013-05-19 (Sun, 19 May 2013)

Changed paths:
M django/core/management/commands/loaddata.py
M tests/fixtures/tests.py
M tests/fixtures_regress/tests.py

Log Message:
-----------
Fixed #18990: Loaddata now complains if fixture doesn't exist

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.


Commit: c44a2c40fe0ed79b0fa00233a204d41e9c677750
https://github.com/django/django/commit/c44a2c40fe0ed79b0fa00233a204d41e9c677750
Author: Senko Rasic <senko...@dobarkod.hr>
Date: 2013-05-19 (Sun, 19 May 2013)

Changed paths:
M django/core/management/commands/loaddata.py
M tests/fixtures/tests.py
M tests/fixtures_model_package/tests.py
M tests/fixtures_regress/tests.py

Log Message:
-----------
Fixed #18990 -- Loaddata now complains if fixture 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.


Commit: 65c557115f6e76293c39ce7b73b62216911f9489
https://github.com/django/django/commit/65c557115f6e76293c39ce7b73b62216911f9489
Author: Senko Rasic <senko...@dobarkod.hr>
Date: 2013-05-19 (Sun, 19 May 2013)

Changed paths:
M tests/fixtures_model_package/tests.py
M tests/fixtures_regress/tests.py

Log Message:
-----------
fix warnings imports in fixtures tests


Commit: 7a99d1e167f81c5fcd1b9f7f548c5d6959cef2ef
https://github.com/django/django/commit/7a99d1e167f81c5fcd1b9f7f548c5d6959cef2ef
Author: Andrew Godwin <and...@aeracode.org>
Date: 2013-05-19 (Sun, 19 May 2013)

Changed paths:
M django/core/management/commands/loaddata.py
M tests/fixtures/tests.py
M tests/fixtures_model_package/tests.py
M tests/fixtures_regress/tests.py

Log Message:
-----------
Merge pull request #1134 from senko/ticket_18990

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


Compare: https://github.com/django/django/compare/cc62cbed76da...7a99d1e167f8
Reply all
Reply to author
Forward
0 new messages