summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-08-20[1.7.x] Fixed #23322 -- Use resolved swappable model for dependency ↵Markus Holtermann
resolution during makemigrations Backport of 144cff3f51 from master
2014-08-20[1.7.x] Prevented data leakage in contrib.admin via query string manipulation.Simon Charette
This is a security fix. Disclosure following shortly.
2014-08-20[1.7.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file ↵Tim Graham
names. This is a security fix. Disclosure following shortly.
2014-08-20[1.7.x] Prevented reverse() from generating URLs pointing to other hosts.Florian Apolloner
This is a security fix. Disclosure following shortly.
2014-08-20[1.7.x] Fixed flake8 warnings.Tim Graham
Backport of 6f59d29158 from master
2014-08-20[1.7.x] Fixed migrations tests added in refs #23315.Tim Graham
Backport of d1299fce0e from master
2014-08-19[1.7.x] Fixed #23315: Operational dependency fail with mixed create/addAndrew Godwin
2014-08-19[1.7.x] Fixed #22996 -- Prevented crash with unencoded query stringClaude Paroz
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham for the reviews. Backport of fa02120d36 from master.
2014-08-19[1.7.x] Fixed #23316 -- Added datetime.time serialization in migrations.Lee Sanghyuck
Backport of 11d9cbe2f4 from master
2014-08-19[1.7.x] Fixed broken tests on Oracle after ↵Baptiste Mispelon
5853c87a458f62ebd62d7809168355610de2570c. Oracle doesn't have a `BEGIN` statement so the test would fail. Refs #23303 Backport of 54164b814cab71a8a0503743befbdcc99ae6c7a0 from master.
2014-08-18[1.7.x] Fixed #23303 -- Added BEGIN and COMMIT statements to the output of ↵Baptiste Mispelon
sqlmigrate. Backport of 5853c87a458f62ebd62d7809168355610de2570c from master. Conflicts: django/core/management/commands/sqlmigrate.py tests/user_commands/tests.py
2014-08-15[1.7.x] Fixed typo in tests/migrations/test_operations.pyTim Graham
Backport of 0ad4672c0f from master
2014-08-14[1.7.x] Fixed #23288: deconstruct() ignoring related_nameAndrew Godwin
2014-08-12[1.7.x] Fixed #23275: Unmanaged models kept by autodetector, ignored by opsAndrew Godwin
2014-08-11[1.7.x] Fixed #23259 -- Corrected insertion order of extra() select_paramsRajiv Makhijani
A regression caused queries to produce incorrect results for cases where extra(select) is excluded by values() but included by extra(order_by) The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc. Backport of f0b358880a from master
2014-08-09[1.7.x] Fixed #23264: Schema backends honour db_constraintAndrew Godwin
2014-08-08[1.7.x] Fixed #22336 -- Added path matching for makemessages ignore optionJustin Hamade
This fixes a regression introduced by 9012a9e200. Backport of 8fe406864c from master.
2014-08-07[1.7.x] Fixed #22982 -- Added GenericRelatedObjectManager.__str__. to ↵Jacob Haslehurst
prevent crash. Thanks bendavis78 for the report.
2014-08-07[1.7.x] Added a missing unicode_literals that caused a test failure after ↵Tim Graham
refs #23226. Backport of 57b60f9f93 from master
2014-08-07[1.7.x] Fixed #23244: Error altering FK to non-FK in migrationsAndrew Godwin
2014-08-05[1.7.x] Fixed #23061: Avoided setting a limit on a query for get with ↵Shai Berger
select_for_update on Oracle Thanks Michael Miller for reporting the issue. Backport of 746f2a4bed from master
2014-08-04[1.7.x] Fixed #23091: CreateModel and AddField were clashing with deferred SQLAndrew Godwin
2014-08-03[1.7.x] Fixed a MySQL test failure introduced by cbb29af1aa.Simon Charette
Seems like unlike other backends MySQL get_constraints fails when dealing with a non-existing table. refs #23160. Backport of 1b00738f73 from master
2014-08-03[1.7.x] Fixed #23160 -- Correctly rename models with self referential fields.Simon Charette
Thanks to whitews AT gmail for the report. Backport of cbb29af1aa from master
2014-08-03[1.7.x] Fixed #23156 -- Added missing BinaryField.deconstruct() method.Baptiste Mispelon
Backport of 72f1eb48df335c110f39d56f7978d95896a56bb8 from master.
2014-08-03[1.7.x] Added missing logic to TimeField.deconstruct().Baptiste Mispelon
If auto_now or auto_now_add was used then the serialized field in the migration contained unnecessary `editable` and `blank` arguments. Backport of 74325339327e5b8a2480aee7f482bc71f73c71f9 from master.
2014-08-01Revert "[1.7.x] Fixed #23088 -- Used `six` `range` type in ↵Tim Graham
`Paginator.page_range`." This reverts commit ce95ab8f025cc9f35990f0c2d9a290eec1ece753. It caused some backwards compatibility concerns (refs #23140).
2014-07-31[1.7.x] Fixed flake8 warnings.Tim Graham
Backport of 9a922dcad1 from master
2014-07-30[1.7.x] Fixed the previous commit for Python3.Florian Apolloner
Backport of 4453c80634fb72b60e849480e52c06b570c696d5 from master.
2014-07-30[1.7.x] Fixed #23112 -- Field.get_choices tries to index an iterableareski
Backport of 97a38de230371c0b6ad8a86abba8425186c147c7 from master.
2014-07-30[1.7.x] Fixed test failure on Windows.Tim Graham
os.close(fd) is needed to avoid "The process cannot access the file because it is being used by another process" Backport of c2ab501bab from master
2014-07-30[1.7.x] Fixed flake8 errors.Tim Graham
Backport of 34c60c42b6 from master
2014-07-30[1.7.x] Fixed #23107 -- Made runserver output respect --no-color.areski
Backport of 67d7da5fb9 from master
2014-07-29[1.7.x] Fixed #23101: Prefer doing deletes before creates in autodetector.Andrew Godwin
Makes declined or missed renames still work (but drop data).
2014-07-28[1.7.x] Fixed #23121: AlterModelOptions operation not changing state rightAndrew Godwin
2014-07-28[1.7.x] Fixed #23100: Individual FK creation missing dependenciesAndrew Godwin
2014-07-27[1.7.x] Fixed #23098 -- Checked that lazy choices are not evaluated too soonFlorian Apolloner
Thanks Matthieu Agopian for the report. Backport of 2f73b527dda6683868fac2791f7f07ccb01ea0d9 from master.
2014-07-26[1.7.x] Fixed #22979 -- Moved bug* testsTushar Bhatia
Backport of 11181a64f from master.
2014-07-26Fixed #23101 db_table wasn't copied in deconstructAbraham Martin
2014-07-26[1.7.x] Fixed #22944: Bad dependency on FK alteration in autodetectorAndrew Godwin
2014-07-26[1.7.x] Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetagqingfeng
Backport of 08451f17d0 from master.
2014-07-26[1.7.x] Fixed code to solve #23070 problemHiroki KIYOHARA
Added a class to wrap callable in settings: * Not to call in the debug page (#21345). * Not to break the debug page if the callable forbidding to set attributes (#23070). Thanks @bmispelon for giving me some advice. Backport of d0889863de50d65659f56f0b9ea0672a8b6482a1 from master.
2014-07-26[1.7.x] Added test for the #23070 problemHiroki KIYOHARA
Backport of e569144910e336d2f76a3a31998ec672377d31cc from master.
2014-07-25[1.7.x] Fixed bad usage of rstrip() that caused test failure.Tim Graham
If the temporary file name contained a p or y as its last characters, it would be stripped. refs #23083. Backport of 57d2b3f2a7 from master
2014-07-25[1.7.x] Fixed #23083 -- Fixed runserver reloading when deleting a file.Tim Graham
Thanks Collin Anderson for the report and hirokiky for the fix. Backport of b8cb5ba708 from master
2014-07-25[1.7.x] Fixed #23093: soft application detection for swapped modelsAndrew Godwin
2014-07-25[1.7.x] Fixed #23071 -- Use last migration's name in dependency to other appJeroen Dekkers
Changed the autodetector to lookup the name of the other app's last migration in the graph and use that as dependency instead of using __latest__.
2014-07-25[1.7.x] Fixed #23088 -- Used `six` `range` type in `Paginator.page_range`.Moayad Mardini
Backport of 6508db2ff9 from master
2014-07-24[1.7.x] Avoided transactional DDL on castrated databases.Aymeric Augustin
Fixed a test failure that appeared after 753a22a6, although the bug existed before that commit. Refs #22308 and #23089. Backport of 0757e0f30d from master
2014-07-24[1.7.x] Fixed #23089 -- Fixed transaction handling in two management commands.Aymeric Augustin
Previously, when createcachetable and flush operated on non-default databases, they weren't atomic. Backport of 753a22a635 from master