Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25508 -- Modified QuerySet.__repr__() to ↵ | Tim Graham | 2015-10-06 | 1 | -5/+6 |
| | | | | disambiguate it from a list. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -13/+45 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -14/+14 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Refs #24324 -- Skipped fixtures_regress tests that fail ↵ | Tim Graham | 2015-02-18 | 1 | -0/+14 |
| | | | | on Python 2 on a non-ASCII path. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -16/+17 |
| | |||||
* | Removed unneeded null param to ManyToManyField | Claude Paroz | 2014-12-23 | 1 | -1/+1 |
| | |||||
* | Fixed #17946 -- Fixed deserialization of ↵ | Claude Paroz | 2014-12-23 | 3 | -0/+15 |
| | | | | | | | self-referencing M2M fields Thanks Philip Mountifield for the report and excellent analysis, and Simon Charette for the review. | ||||
* | Fixed a test to correctly calculate a fixture's relative ↵ | Julien Phalip | 2014-11-17 | 1 | -1/+1 |
| | | | | path. | ||||
* | Fixed #23468 -- Added checks for duplicate fixtures ↵ | Konrad Świat | 2014-10-31 | 1 | -0/+43 |
| | | | | | | | | | directories in loaddata. If settings.FIXTURE_DIRS contains duplicates or a default fixture directory (app_name/fixtures), ImproperlyConfigured is raised. Thanks to Berker Peksag and Tim Graham for review. | ||||
* | Allowed test from refs #23612 to be run from a directory ↵ | Tim Graham | 2014-10-22 | 1 | -1/+7 |
| | | | | other than tests. | ||||
* | Made testing of stdout and stderr more consistent. | Loic Bistuer | 2014-10-22 | 1 | -15/+15 |
| | | | | Refs #23663. | ||||
* | Fixed #23660 -- Moved sort_dependencies to core. | Collin Anderson | 2014-10-15 | 1 | -23/+22 |
| | |||||
* | Fixed #23651 -- Isolated non-existent fixture tests | Claude Paroz | 2014-10-15 | 1 | -13/+0 |
| | | | | | | | | 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). | ||||
* | Fixed #23612 -- Normalized fixuture paths to allow ↵ | Brandon Taylor | 2014-10-09 | 1 | -0/+12 |
| | | | | referencing relative paths on Windows. | ||||
* | Fixed #22653 -- Added some database feature flags to tests. | Tim Graham | 2014-06-11 | 1 | -0/+2 |
| | | | | Thanks Rahul Priyadarshi. | ||||
* | Merge pull request #2679 from ramiro/t22421 | Ramiro Morales | 2014-05-21 | 3 | -1/+41 |
|\ | | | | | Fixed #22421 -- Regression in fixtures loading. | ||||
| * | Fixed #22421 -- Regression in fixtures loading. | Ramiro Morales | 2014-05-17 | 3 | -1/+41 |
| | | | | | | | | | | | | | | | | | | | | Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946. | ||||
* | | Fixed #21799 - Modified loaddata --ignorenonexistent to ↵ | Esau Rodriguez | 2014-05-18 | 1 | -0/+11 |
|/ | | | | ignore models. | ||||
* | Fixed flake8 error. | Tim Graham | 2014-05-12 | 1 | -6/+4 |
| | |||||
* | Fixed some test models' natural_key() methods. | Ramiro Morales | 2014-05-12 | 1 | -8/+8 |
| | |||||
* | Unneeded, Python 3 incompatible code in a75324c6 tests. | Ramiro Morales | 2014-05-12 | 1 | -3/+3 |
| | |||||
* | Fixed #14226 -- Dependency calculation for complex M2M ↵ | Rainer Koirikivi | 2014-05-12 | 2 | -1/+218 |
| | | | | | | | | | | relations. `sort_dependencies` incorrectly interpreted 'complex' M2M relations (with explicit through models) as dependencies for a model. This caused circular complex M2M relations to be unserializable by dumpdata. Thanks to aneil for the report and outofculture for initial tests. | ||||
* | Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of ↵ | chriscauley | 2014-04-17 | 1 | -1/+1 |
| | | | | | | docs and tests. Thanks tomwys for the suggestion. | ||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -3/+3 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | Fixed #21551 -- Reenabled loading fixtures from subdirectory | Claude Paroz | 2013-12-07 | 2 | -7/+19 |
| | | | | | | This was a regression in Django 1.6 that was only partially restored in 839940f27f. Thanks Jonas Haag for the report. | ||||
* | Fixed #21457 -- Allowed fixture file name to contain dots | Claude Paroz | 2013-11-18 | 2 | -0/+17 |
| | | | | Thanks Keryn Knight for the report. | ||||
* | PEP8 cleanup | Jason Myers | 2013-11-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -2/+2 |
| | |||||
* | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+0 |
| | |||||
* | Fixed #13252 -- Added ability to serialize with natural ↵ | Tai Lee | 2013-10-11 | 1 | -2/+3 |
| | | | | | | | | | | | | | | primary keys. 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. | ||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 3 | -16/+16 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Fixed #20933 -- Allowed loaddata to load fixtures from ↵ | Florian Apolloner | 2013-08-20 | 2 | -7/+16 |
| | | | | relative paths. | ||||
* | Fixed invalid testing fixture | Anssi Kääriäinen | 2013-08-20 | 1 | -0/+6 |
| | |||||
* | Fixed #20820 -- Model inheritance + m2m fixture loading ↵ | Anssi Kääriäinen | 2013-08-20 | 3 | -0/+26 |
| | | | | | | regression Tests by Tim Graham, report from jeroen.pulles@redslider.net. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 2 | -2/+2 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Fixed #18213 -- Allowed empty fixtures (emit a warning ↵ | Przemek Lewandowski | 2013-07-29 | 1 | -13/+26 |
| | | | | rather than raising an exception). | ||||
* | Avoided transaction.set_autocommit in tests. | Aymeric Augustin | 2013-07-09 | 1 | -16/+9 |
| | | | | | | It doesn't work as one might expect on a certain database backend where autocommits_when_autocommit_is_off = True. That backend happens to be popular for running tests. | ||||
* | Stopped calling loaddata with commit=False. | Aymeric Augustin | 2013-06-30 | 1 | -32/+0 |
| | | | | | This was a stealth option only used by the tests, and it isn't useful any more since `atomic` provides nested transactions. | ||||
* | Defined available_apps in relevant tests. | Aymeric Augustin | 2013-06-10 | 1 | -0/+6 |
| | | | | Fixed #20483. | ||||
* | Fixed #20485 -- Refactored loaddata for speed. | Aymeric Augustin | 2013-06-02 | 1 | -1/+1 |
| | | | | Thanks Anssi for reporting this performance bottleneck. | ||||
* | fix warnings imports in fixtures tests | Senko Rasic | 2013-05-19 | 1 | -1/+1 |
| | |||||
* | Fixed #18990 -- Loaddata now complains if fixture ↵ | Senko Rasic | 2013-05-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | 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. | ||||
* | Fixed #18990: Loaddata now complains if fixture doesn't ↵ | Senko Rasic | 2013-05-19 | 1 | -7/+8 |
| | | | | | | | | | 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. | ||||
* | Fixed #19998 -- Fixed --ignorenonexistent support for ↵ | Christoph Sieghart | 2013-03-30 | 2 | -0/+24 |
| | | | | XML based fixtures. | ||||
* | Improved the API of set_autocommit. | Aymeric Augustin | 2013-03-11 | 1 | -2/+2 |
| | |||||
* | Added some assertions to enforce the atomicity of atomic. | Aymeric Augustin | 2013-03-11 | 1 | -2/+5 |
| | |||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 23 | -0/+1253 |