summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-06-13[1.7.x] Fixed #22477 -- Removed contrib middleware from the global settings ↵mlavin
defaults. Also added a compatibility check for changed middleware defaults.
2014-06-12[1.7.x] Fixed a staticfiles test on Windows.Tim Graham
Backport of 9980f67154 from master
2014-06-12[1.7.x] Fixed #22811 -- Allowed setting both the old and new TEST database ↵Tim Graham
settings. An ImproperlyConfigured exception will be raised they mismatch. Backport of 1c58cabad7 and a2cd0e12c9 from master
2014-06-12[1.7.x] Fixed #22823 (and partly #22563) - FKs from unmigrated apps breaking ↵Andrew Godwin
state. Thanks to bendavis78 for the test and diagnostic work.
2014-06-11[1.7.x] Fixed #22487: Separated schema migration from data migration in testShai Berger
The data migration failed on Oracle, killing the entire test suite. Thanks timo for reporting the Oracle breakage, and andrewgodwin for suggesting the solution. Backport of 64d94cf from master
2014-06-11[1.7.x] Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi. Backport of 99f5ea9cc8 from master
2014-06-11[1.7.x] Created a new tests folder (`model_options`).Moayad Mardini
And moved `tablespaces` option tests to it. The new folder can be used to test models/options, like the new option added in refs #22778. Backport of 5a3ae7e260 from master
2014-06-11[1.7.x] Fixed #22680 -- I/O operation on closed file.Florian Apolloner
This patch is two-fold; first it ensure that Django does close everything in request.FILES at the end of the request and secondly the storage system should no longer close any files during save, it's up to the caller to handle that -- or let Django close the files at the end of the request. Backport of e2efc8965edf684aaf48621680ef54b84e116576 from master.
2014-06-10[1.7.x] Fixed #22792 -- Updated checks for list_display_links in model adminGreg Chapple
Backport of d8f19bb3b6 from master
2014-06-09[1.7.x] Removed unused import.Tim Graham
Backport of fea8ccdcc4 from master
2014-06-09[1.7.x] Fixed #20420 -- Normalized query counts on Oracle.Aymeric Augustin
This is achieved by inserting a fake entry in connection.queries when not releasing a savepoint (since Oracle doesn't support that operation.) Also removed the can_release_savepoints feature that was recently added, but is superseded by this solution. Backport of 40bfd856 from master.
2014-06-09[1.7.x] Remove overzealous migration flushes from migration test suiteAndrew Godwin
2014-06-08[1.7.x] Fix broken alias testing testAndrew Godwin
Conflicts: tests/test_runner/tests.py
2014-06-08[1.7.x] Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
Conflicts: django/db/backends/creation.py django/test/runner.py docs/ref/settings.txt docs/topics/testing/advanced.txt
2014-06-08[1.7.x] Fix router_honored test to not close connectionAndrew Godwin
2014-06-08[1.7.x] Fixed #22777: Add dependency on through for autodetected M2M addsAndrew Godwin
2014-06-07[1.7.x] Fixed #22750, #22248: Model renaming now also alters field FKsAndrew Godwin
2014-06-07[1.7.x] Fixed #22749: Making SQL management commands migration aware.Víðir Valberg Guðmundsson
2014-06-07[1.7.x] Fixed #22436: More careful checking on method ref'ce serializationAndrew Godwin
2014-06-06[1.7.x] Fixed #22773 -- Forced templatize() to return unicodeClaude Paroz
Backport of daaeb84158 from master.
2014-06-05[1.7.x] Implement Migration.run_beforeChris Beaven
This attribute (used for reverse dependencies) was previously declared and mentioned in the code, but never actually used.
2014-06-05[1.7.x] Rewrote migration autodetector to involve actual computer science.Andrew Godwin
Fixes #22605, #22735; also lays the ground for some other fixes. Conflicts: django/db/migrations/autodetector.py
2014-06-06Replaced an explicit vendor check by a feature flag.Aymeric Augustin
2014-06-06Checked can_introspect_null feature in a test.Aymeric Augustin
2014-06-05[1.7.x] Added a flag for the ability to introspect nullable fields.Aymeric Augustin
Previously this was conflated with another Oracle-specific behavior. Backport of a03d38d from master.
2014-06-05Avoided using BinaryField unecessarily in tests.Aymeric Augustin
Several database backends struggle with binary data. This change minimizes the risk of unrelated tests failures when binary fields trigger errors.
2014-06-05Reordered setUp code in prefetch_related tests.Aymeric Augustin
This allows these tests to run on databases that reject duplicate NULL values in unique fields e.g. SQL Server.
2014-06-03[1.7.x] Fixed #22681 -- Made TarArchive recognize leading directories properly.Alexandr Shurigin
Backport of 083d285b82 from master
2014-06-02[1.7.x] Fixed #22690 -- Added a check for proxy models containing fields.Craig de Stigter
Removed the FieldError raised by ModelBase.__new__ in this case. Backport of ce993efda8 from master
2014-06-02[1.7.x] Removed an unused importAlex Gaynor
Backport of a31d7c48b0 from master
2014-06-02[1.7.x] Revert "Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on ↵Tim Graham
fields with choices" This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905. Backport of 5046c110cf from master
2014-06-01[1.7.x] Fixed #22711 -- Adjusted ordering checks to allow implicit relation ↵Vincent-Vega
fields. refs #19195. Backport of d04e730224 from master
2014-06-01[1.7.x] Fixed #22659 -- Prevent model states from sharing field instances.Simon Charette
Thanks to Trac alias tbartelmess for the report and the test project. Backport of 7a38f88922 from master
2014-06-01[1.7.x] Revert "Making SQL management commands migration aware."Florian Apolloner
This reverts commit cb9c9a7b5879671053c7d2ad6e79943a8814b274. Backport of 83e7555ffee305c1ea1e0655fd1f0aa35269533f from master.
2014-05-30[1.7.x] Improved the test for refs #22682.Moayad Mardini
Thanks apollo13 for the review. Backport of 6f4d7f41b1 from master
2014-05-29[1.7.x] Fix additional test failures caused by migration pollutionAndrew Godwin
2014-05-29[1.7.x] Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` packageMoayad Mardini
`makemigrations` will automatically create the package specified in `MIGRATION_MODULES` if it doesn't already exist. Thanks ovidiuc4 for the report.
2014-05-29[1.7.x] Making SQL management commands migration aware.Víðir Valberg Guðmundsson
2014-05-29[1.7.x] Removed unused import.Tim Graham
2014-05-29[1.7.x] Fixed a typo that Tim Graham noticedAlex Gaynor
Backport of d240b29c08 from master
2014-05-29[1.7.x] Fixed several typos in DjangoAlex Gaynor
Backport of 1dcc603eff from master
2014-05-29[1.7.x] Adding test to fix of duplicate _order fields (#22720)Víðir Valberg Guðmundsson
Backport of bf9953cfb8 from master
2014-05-28[1.7.x] Set straight the sense of 'uppercases_column_names' feature flagShai Berger
2014-05-27[1.7.x] Fixed #22699 -- Configure default settings in some management commands.Aymeric Augustin
This makes it possible to run django.setup() in management commands that don't need a settings module. In addition it simplifies error handling. Thanks Claude for the review. Backport of 4865326f from master.
2014-05-26[1.7.x] Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.Moayad Mardini
`makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`. Backport of 2e613ea5c5 from master
2014-05-26[1.7.x] Restored Python 2 compatibility.Florian Apolloner
Backport of ee51ab9d232e52d17cd5ad32e230fd715cffe638 from master.
2014-05-25[1.7.x] Fixed a few warnings in the testsuite.Florian Apolloner
Backport of 536ebaa048f69c18aa36448074f65f2741e35df5 from master.
2014-05-24[1.7.x] Fixed #22676 -- makemigrations --dry-run should not ask for defaultsMoayad Mardini
Made the fix in InteractiveMigrationQuestioner class code, rather than MigrationAutodetector, because --dry-run shouldn't affect whether MigrationAutodetector will detect non-nullable fields, but the questioner should skip the question and returns a None for default (since that won't be used anyway) if --dry-run is used. Backport of ee14961a2a from master
2014-05-24[1.7.x] Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions. Backport of 9fb0f5dddc4cf7f2d294af1bcde2c359cffd90a5 from master
2014-05-24[1.7.x] Made runtests.py use 'set_installed_apps' APIClaude Paroz
This will also trigger the ready method of any tested application, which was not run before. Backport of 19b4908206 from master.