| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-03-14 | Fixed test_dumpdata_progressbar to use the instantiated StringIO object. | Jon Dufresne | |
| 2016-02-04 | Fixed #26144 -- Warned when dumping proxy model without concrete parent. | Yoong Kang Lim | |
| 2016-01-29 | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | |
| appropriate. | |||
| 2016-01-04 | Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception. | Andrew Kuchev | |
| Thanks to mpasternak for the report and Tim Graham for the review. | |||
| 2015-12-31 | Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures. | Anssi Kääriäinen | |
| Django's test suite often tries to load fixture files from apps that have no fixtures at all. This creates a lot of unnecessary disabling and enabling of constraints which can be expensive on some database. To speed this up, loaddata now first checks if any fixture file matches. If no fixture file is matched, then the command exits before disabling and enabling of constraints is done. The main benefit of this change is seen on MSSQL, where tests on Django 1.8 run hours faster. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-09 | Refs #22258 -- Fixed an unclosed temporary file in fixtures test. | Tim Graham | |
| This prevented the temporary directory from being removed on Windows. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-24 | Fixed #22258 -- Added progress status for dumpdata when outputting to file | Claude Paroz | |
| Thanks Gwildor Sok for the report and Tim Graham for the review. | |||
| 2015-06-20 | Refs #24978 -- Amended test filename to avoid checkout warnings on Windows. | Gagaro | |
| 2015-06-17 | Refs #24978 -- Skipped an unsupported test on Windows. | Tim Graham | |
| 2015-06-13 | Fixed #24978 -- Escaped special characters in loaddata fixture paths | Moritz Sichert | |
| 2015-05-22 | Fixed #24776 -- Improved apps.get_app_config() error message on ↵ | Peter Inglesby | |
| fully-qualified package names. | |||
| 2015-04-16 | Fixed fixtures tests failure on Python 2 with non-ASCII path. | Tim Graham | |
| 2015-04-16 | Fixed #21652 -- Added notification when processing objects in loaddata | Yitzhak Clark | |
| Added a running count of the objects processed by loaddata when verbosity >= 3. | |||
| 2015-03-07 | Prevented some tests from writing in the CWD. | Aymeric Augustin | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-17 | Removed support for initial_data fixtures per deprecation timeline. | Tim Graham | |
| 2015-01-06 | Fixed #12663 -- Formalized the Model._meta API for retrieving fields. | Daniel Pyrathon | |
| Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | |||
| 2014-12-30 | Applied ignore_warnings to Django tests | Claude Paroz | |
| 2014-10-15 | Fixed #23651 -- Isolated non-existent fixture tests | Claude Paroz | |
| Previous versions of the tests were buggy, as initial_data.json did exist and the test wasn't failing. It was finally failing on Python 3.4.2. Thanks Raphaël Hertzog for the report (and Debian bug #765117 contributors). | |||
| 2014-09-24 | Removed numbering from the models.py header of some test packages. | Loic Bistuer | |
| This is a reliqua from the early days of the modeltests/regressiontests era. | |||
| 2014-08-08 | Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite. | Tim Graham | |
| Thanks Claude Paroz for assistance with debugging the tests. | |||
| 2014-03-30 | Ensure that a file is closed in the tests | Alex Gaynor | |
| 2014-03-25 | Fixed #22257 -- Added file output option to dumpdata command. | Anubhav Joshi | |
| 2014-03-09 | Fixed #22237 -- Removed some warnings in the test suite | Claude Paroz | |
| Thanks Aymeric Augustin for the report. | |||
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-02-12 | Fixed #22025 -- Listing app followed by app.Model in dumpdata command | Eli Bendersky | |
| When invoked as follows: $ python manage.py dumpdata blogapp blogapp.Tag Django would throw a TypeError. This commit fixes the problem and provides a test. | |||
| 2014-02-09 | Fixed #21969: Fix behaviour of initial_data with migrated apps | Andrew Godwin | |
| 2014-01-26 | Fixed #19774 -- Deprecated the contenttypes.generic module. | Simon Charette | |
| It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review. | |||
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-10-23 | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | |
| 2013-10-11 | Fixed #13252 -- Added ability to serialize with natural primary keys. | Tai Lee | |
| Added ``--natural-foreign`` and ``--natural-primary`` options and deprecated the ``--natural`` option to the ``dumpdata`` management command. Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys`` arguments and deprecated the ``use_natural_keys`` argument to ``django.core.serializers.Serializer.serialize()``. Thanks SmileyChris for the suggestion. | |||
| 2013-10-10 | Whitespace cleanup. | Tim Graham | |
| * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | |||
| 2013-09-11 | Fixed #21089 -- Allow TransactionTestcase subclasses to define an empty list ↵ | Baptiste Mispelon | |
| of fixtures. Thanks to lgs for the report and initial patch. | |||
| 2013-09-09 | Removed unneeded imports in tests's __init__.py and unified them. | Florian Apolloner | |
| 2013-09-03 | Updated syncdb -> migrate in tests. | Tim Graham | |
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-06-30 | Stopped calling loaddata with commit=False. | Aymeric Augustin | |
| This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions. | |||
| 2013-06-10 | Defined available_apps in relevant tests. | Aymeric Augustin | |
| Fixed #20483. | |||
| 2013-05-30 | Fixed #20509 - Proper parsing for dumpdata --pks option. | Tim Graham | |
| Thanks weipin for the report and Baptiste Mispelon for the patch. | |||
| 2013-05-19 | Fixed fixtures testing failure | Anssi Kääriäinen | |
| The failure was caused by generating the same warning from two tests. The second time the same warning was raised it was swallowed by the "once" simplefilter of warnings. | |||
| 2013-05-19 | Fixed #16330 -- added --pks option in dumpdata command | Preston Holmes | |
| Thanks to guettli for the initial ticket and patch, with additional work from mehmetakyuz and Kevin Brolly. | |||
| 2013-05-19 | Fixed #18990 -- Loaddata now complains if fixture doesn't exist | Senko Rasic | |
| 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. | |||
| 2013-05-19 | Fixed #18990: Loaddata now complains if fixture doesn't exist | Senko Rasic | |
| 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. | |||
| 2013-03-08 | Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵ | Loic Bistuer | |
| return a QuerySet. | |||
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
