summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-01-23[1.9.x] Fixed typos in test comments.Mingun Pak
Backport of 4c912d184d5ba2ae7355fd8dacb70a0366b8f23b from master
2016-01-22[1.9.x] Fixed #26116 -- Corrected schema's test_alter_implicit_id_to_explicit.Tim Graham
AUTOINCREMENT is dropped converting an AutoField to IntegerField which isn't the point of this test. MySQL would warn or error about this. Backport of b49cc8664306f8b44e9e12ebb9e43791d508ec74 from master
2016-01-21[1.9.x] Changed `action="."` to `action=""` in tests and docs.Luke Plant
`action="."` strips query parameters from the URL which is not usually what you want. Copy-paste coding of these examples could lead to difficult to track down bugs or even data loss if the query parameter was meant to alter the scope of a form's POST request. Backport of 77974a684a2e874bccd8bd9e0939ddcb367a8ed2 from master
2016-01-21[1.9.x] Fixed #26060 -- Fixed crash with reverse OneToOneField in ↵Alexander Gaevsky
ModelAdmin.readonly_fields. Backport of 9a33d3d76497d9e198de942ee1236c452231262f from master
2016-01-21[1.9.x] Refs #26092 -- Added @skipUnlessDBFeature to a test.Tim Graham
Backport of fb4272f0e6bbdaa3e19ed5fde59fdb5ab5a33baf from master
2016-01-21[1.9.x] Fixed #26063 -- Crash when passing > 2000 params.Aymeric Augustin
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does by setting the former to 250000, Django raised an exception on queries containing more than 2000 parameters when DEBUG = True. Backport of f91b5a7e4b from master
2016-01-20[1.9.x] Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M ↵Anssi Kääriäinen
through model. Backport of ee596888e1149864e7828f5cf63c0eda395744c3 from master
2016-01-20[1.9.x] Fixed #26094 -- Fixed CSRF behind a proxy ↵chemary
(settings.USE_X_FORWARDED_PORT=True). Backport of 2d28144c9519f4e4397c70f045c2b1d31437bf69 from master
2016-01-13[1.9.x] Refs #26071 -- Added test for __in lookup in a Case expression.Alberto Avila
Forwardport of 5b3c66d8b64add684489f5010e43de73e7acdd04 from stable/1.8.x
2016-01-11[1.9.x] Added missing period to "etc.".pp
Backport of b34ff66e5bae3760273255fa5b2525eb21a5eb63 from master
2016-01-11[1.9.x] Fixed #25858 -- Bound abstract model application relative relationships.Simon Charette
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input and Tim for the review. Backport of bc7d201bdbaeac14a49f51a9ef292d6312b4c45e from master
2016-01-08[1.9.x] Added a test for adding a UUID pk object using the "Add related" ↵Alexander Gaevsky
admin popup. Follow up to refs #25997 but this case wasn't broken. Backport of 5052f79df45d843d1e44dcc47152ed503220098f from master
2016-01-08[1.9.x] Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on ↵Tim Graham
Char/TextField with unique=True and db_index=True. Thanks Simon Charette for review. Backport of 56aaae58a746eb39d5e92ba60f59f4c750a8e1a8 from master
2016-01-08[1.9.x] Added a helper function in schema tests.Tim Graham
Backport of 54d3ba84066301b9cdbbd657620c0f1e5c2422c0 from master
2016-01-08[1.9.x] Fixed #25997 -- Removed redundant escaping in admin's edit related ↵Alexander Gaevsky
model popup.
2016-01-06[1.9.x] Fixed #26046 -- Fixed a crash with translations and Django-unknown ↵Claude Paroz
language code Thanks Jens Lundstrom for the report and Tim Graham for the review. Backport of 632a9f21bc from master.
2016-01-06[1.9.x] Fixed #26035 -- Prevented user-tools from appearing on admin logout ↵Scott Pashley
page. Backport of 7cc2efc2d6916c05a0a5cb0c0e67f5405d8f6a03 from master
2016-01-05[1.9.x] Skipped a dateformat test on Windows as needed.Tim Graham
Refs 1014ba026e879e56e0f265a8d9f54e6f39843348 Backport of 2765adc8dcbaa41662af9000c4de2820418bf0a2 from master
2016-01-05[1.9.x] Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag ↵Denis Cornehl
support. Backport of 186b6c61bfe85afa4d6bf213d04a28dd2853fed2 from master
2016-01-04[1.9.x] Fixed #26009 -- Fixed contenttypes_tests isolation.Tim Graham
Backport of 2c6c873e3fca6c0c54c2335e131f7742fcf2cf26 from master
2016-01-02[1.9.x] Fixed #25316 -- Fixed a crash with order_by() and values() after ↵varunnaganathan
annotate(). Backport of 3eba9638ee69138c73efb1d1c1d1b806ddafc6cf from master
2016-01-02[1.9.x] Fixed #26008 -- Added parallel argument to paired_tests and bisect_testsAttila Tovt
Backport of 0db6367fe2aa6ab3fd152eacf172d57db45c1ffb from master
2015-12-31[1.9.x] Removed British/Austrialian word: whilist.Tim Graham
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
2015-12-31[1.9.x] Made cosmetic cleanups in middleware tests.Tim Graham
Backport of 89616f0c790376867ba31ada27554f40bfeb228e from master
2015-12-31[1.9.x] 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. Backport of ee9f4686b19e2b4a68f5cb4f9d61dc045c1d4c63 from master
2015-12-30[1.9.x] Fixed #26018 -- Prevented unecessary get_form() call in ↵Chris Cogdon
FormMixin.get_context_data(). Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not be called unnecessarily, specifically in the case where FormMixin.form_invalid() calls get_context_data() with the current form. Backport of e429c5186ceed81c4627165518e0c70c58e69595 from master
2015-12-30[1.9.x] Fixed #26006 -- Fixed incorrect object reference in ↵Chris Cogdon
SingleObjectMixin.get_context_object_name(). Backport of 4b2dcfe04f5d9938e40c569ffdd169f3a712145d from master
2015-12-29[1.9.x] Fixed #25465 -- Restored line breaks conversion in admin readonly ↵Alexander Gaevsky
fields. Backport of 69208a5a1c55d42ca0eaffa900be643d9f801089 from master
2015-12-29[1.9.x] Fixed typo in test name.knbk
Backport of 300de968d680eea10daa00132f60b7db47abfe1d from master
2015-12-28[1.9.x] Fixed #23285 -- Fixed non-deterministic admin_views test.Tim Graham
This test sometimes fail because the checked integers can appear in the output as memory addresses due to #24316.
2015-12-28[1.9.x] Removed an unused import.Tim Graham
2015-12-24[1.9.x] Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__().Varun Sharma
Backport of 692d05589061a593d4bfbdb2895eaef0386eca34 from master
2015-12-24[1.9.x] Fixed #25981 -- Added need to update migrations to on_delete ↵Luis San Pablo
deprecation warning. Backport of a856555df2a1b4ddad8bf21243de0bcbcc12fb20 from master
2015-12-24[1.9.x] Fixed #25972 -- Restored support for the isnull lookup with ↵Tomo Otsuka
ForeignObject. Backport of 8b6974a6857bdc48ad50bf21527b840c27648891 from master
2015-12-23[1.9.x] Fixed #25729 -- Fixed flaky admin_widgets selenium test: ↵Tim Graham
test_ForeignKey_using_to_field Backport of 5081adcb9004f2c726dcfd054f7f16c5fd39d391 from master
2015-12-23[1.9.x] Refs #25969 -- Replaced usage of render_to_response() with render() ↵Tim Graham
in tests. Backport of edf3b88f1ad8f6e900fb3273cc8a573d3d77ce16 from master
2015-12-21[1.9.x] Fixed #25903 -- Fixed the admin's list_editable add/change buttons.Tim Graham
Backport of f18b08748abaecb171fdcbcdfdcd7e4d95d931d1 from master
2015-12-19[1.9.x] Fixed #25922 -- Fixed migrate --fake-initial detection of ↵Tim Graham
many-to-many tables. Backport of fa9ce4e9a691e4f8c8b093784bac752e488dc60b from master
2015-12-18[1.9.x] Fixed #25915 -- Allowed language not in Django's default LANGUAGESClaude Paroz
This fixes a regression introduced by a5f6cbce07. Thanks Gavin Wahl for the report and Tim Graham for the review. Backport of cd3c042b0 from master.
2015-12-17[1.9.x] Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable fieldClaude Paroz
This fixes a regression introduced by 871440361. Backport of d91cc25a2a from master.
2015-12-15[1.9.x] Fixed #25852 -- Made sure AlterModelManager forces a reload of its ↵Simon Charette
model state. Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus for the review. Backport of c4e372aaf467ae41315cfe56a718a80469fc5318 from master
2015-12-15[1.9.x] Fixed #25894 -- Fixed evaluation of zero-length slices of ↵Sergey Fedoseev
QuerySet.values(). Backport of 69b69f6d6085d80ccf36a3e999e9e5b98d580786 from master
2015-12-14[1.9.x] Fixed #25882 -- Prevented fast deletes matching no rows from ↵Simon Charette
crashing on MySQL. Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891 Backport of 8035cee92293f3319919c8248c7787ba43c05917 from master
2015-12-12[1.9.x] Fixed #25909 -- Added unicode_literals import to apps.py generated ↵Tim Graham
by startapp. Backport of 10427646b887586bf89dacb3b5208b3ad2d17308 from master
2015-12-10[1.9.x] Fixed #25883 -- Fixed admin deletion page summary counts for related ↵Sergey Fedoseev
objects. Backport of 8ab58b80529c5206654c1042a4ddcf2da364f8ec from master
2015-12-10[1.9.x] Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField ↵Federico Frenguelli
when using AlterField. Thanks to Emanuele Palazzetti for the help. Backport of 3a36c8079544c83dcdea4e52181efcd2d1e86b9c from master
2015-12-10[1.9.x] Fixed #25900 -- Fixed regression in CommonMiddleware ETag support.Derek J. Curtis
Backport of 6be9589eb34f79914666c9d9e1e15bdb7fc44df2 from master
2015-12-10[1.9.x] Moved a few CommonMiddleware tests to the correct test class.Tim Graham
Backport of 5bc881541caafbac6911fb26d9718b8ad6d45b2a from master
2015-12-10[1.9.x] Refs #25896 -- Fixed migration test failure on OracleShai Berger
The test creates and deletes a model in the same migration, and the model had an AutoField. On Oracle, AutoField's are set up using deferred SQL, which in this case was trying to modify a table after it had dbeen removed. Backport of c8b3fbe from master
2015-12-09[1.9.x] Fixed #25896 -- Fixed state bug in ↵Amos Onn
SeparateDatabaseAndState.database_backwards(). Backport of 542b7f6c50df18f2aa201cf1de81577c1bee643c from master