Commit Graph

21652 Commits

Author SHA1 Message Date
Luis San Pablo 4f2eb5fc5d [1.9.x] Fixed #25981 -- Added need to update migrations to on_delete deprecation warning.
Backport of a856555df2 from master
2015-12-24 08:08:51 -05:00
Tomo Otsuka bc5eed8fb0 [1.9.x] Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.
Backport of 8b6974a685 from master
2015-12-24 07:35:08 -05:00
Tim Graham b0303803d6 [1.9.x] Removed an extra header in docs/ref/templates/api.txt.
Backport of 91cd4d8e8c from master
2015-12-23 19:05:35 -05:00
Alasdair Nicol 326efed9ee [1.9.x] Refs #25963 -- Fixed typo in docs/topics/http/shortcuts.txt
Backport of 28d05a4c19 from master
2015-12-23 18:36:07 -05:00
Alasdair Nicol 8eeb01a702 [1.9.x] Fixed #25854 -- Removed deprecated usage of template.render() with RequestContext in docs.
Backport of 32c7d93e5f from master
2015-12-23 18:31:20 -05:00
Tim Graham dac48234d3 [1.9.x] Fixed #25729 -- Fixed flaky admin_widgets selenium test: test_ForeignKey_using_to_field
Backport of 5081adcb90 from master
2015-12-23 14:02:07 -05:00
Tim Graham d162b0bcd8 [1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples.
Backport of 4d83b0163e from master
2015-12-23 10:50:55 -05:00
Tim Graham 2f205e073b [1.9.x] Refs #25969 -- Replaced usage of render_to_response() with render() in tests.
Backport of edf3b88f1a from master
2015-12-23 10:23:41 -05:00
Sergey Fedoseev 91c976b64b [1.9.x] Documented that GDAL is required to initialize GEOSGeometry from JSON.
Backport of febe1321da from master
2015-12-23 07:58:36 -05:00
Tim Graham c0d8d5f98c [1.9.x] Fixed #25948 -- Added guidelines for SimpleTestCase.assertRaisesMessage() usage.
Backport of 77f50c9cfc from master
2015-12-23 07:31:14 -05:00
Sergey Fedoseev 3f04850f82 [1.9.x] Refs #25141 -- Removed note that says that GEOSGeometry.json requires GDAL.
Backport of 0224f1cb04 from master
2015-12-23 07:28:14 -05:00
Mads Jensen 3bcd42d343 [1.9.x] Fixed #25936 -- Added showmigrations to migrations topic guide.
Backport of 394e59099c from master
2015-12-22 13:17:27 -05:00
Tim Graham 36d0aa4303 [1.9.x] Fixed #25963 -- Clarified render_to_response() context_instance deprecation. 2015-12-22 13:06:22 -05:00
Tim Graham 923a4fb20a [1.9.x] Fixed #25965 -- Added removal of sql* commands to 1.9 release notes.
Backport of d52b0c5b38 from master
2015-12-22 13:00:24 -05:00
Tim Graham c80d85d4ad [1.9.x] Fixed #25903 -- Fixed the admin's list_editable add/change buttons.
Backport of f18b08748a from master
2015-12-21 09:30:39 -05:00
Alex Gaynor 40fd217437 [1.9.x] Removed a misleading comment about HTTPS.
For all practical purposes, there are no common cases for which a
website cannot be deployed with HTTPS.

Backport of d7580e286a from master
2015-12-21 06:52:49 -05:00
Tim Graham a80fb8ae24 [1.9.x] Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables.
Backport of fa9ce4e9a6 from master
2015-12-19 13:50:06 -05:00
Tim Graham 571f7b759e [1.9.x] Fixed #25949 -- Documented Psycopg2 version requirement for JSONField.
Backport of b26d147259 from master
2015-12-19 07:25:28 -05:00
Aymeric Augustin 24ebf17f04 [1.9.x] Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS.
In that case, the content of INSTALLED_APPS will be ignored until it's
fixed and the autoreloader kicks in. I confirmed this behavior manually.
As explained on the ticket it's hard to write a test for this case.

Backport of df0a446fd4 from master
2015-12-18 19:08:28 -05:00
Claude Paroz f0a4ff2b11 [1.9.x] Fixed #25915 -- Allowed language not in Django's default LANGUAGES
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-18 17:51:52 +01:00
Sergey Fedoseev 12b0d070d9 [1.9.x] Fixed a typo in docs/ref/contrib/gis/geos.txt.
Backport of e090070761 from master
2015-12-18 07:09:27 -05:00
Sergey Fedoseev 14146f6347 [1.9.x] Refs #25894 -- Fixed evaluation of zero-length slices of QuerySet.values() on Oracle.
Backport of ed1bcf0515 from master
2015-12-17 17:07:54 -05:00
Sven Grunewaldt badeb56f83 [1.9.x] Fixed #25845 -- Fixed incorrect timezone warnings in custom admin templates.
Backport of 9af40f5df1 from master
2015-12-17 14:35:40 -05:00
Claude Paroz ff077cd649 [1.9.x] Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable field
This fixes a regression introduced by 871440361.
Backport of d91cc25a2a from master.
2015-12-17 15:39:34 +01:00
Garrison Benson 54295a95d9 [1.9.x] Refs #13110 -- Fixed typo in Feed class reference.
Backport of 2ec23a3d41 from master
2015-12-17 09:09:53 -05:00
Simon Charette c4c72ade6f [1.9.x] Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus
for the review.

Backport of c4e372aaf4 from master
2015-12-15 14:53:45 -05:00
Tim Graham ea63cf8d42 [1.9.x] Refs #10060 -- Corrected description of multiple annotations bug.
Backport of 3d2236773b from master
2015-12-15 08:04:43 -05:00
Sergey Fedoseev 192d1eb5c3 [1.9.x] Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values().
Backport of 69b69f6d60 from master
2015-12-15 07:30:30 -05:00
Simon Charette c402db2e2f [1.9.x] Fixed #25882 -- Prevented fast deletes matching no rows from 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 8035cee922 from master
2015-12-14 13:13:47 -05:00
Tim Graham 45ea00742b [1.9.x] Fixed #25934 -- Added missing app_name in tutorial 4's urls.py.
Backport of 4cd24bb67c from master
2015-12-14 08:59:29 -05:00
Tim Graham 3c69d52377 [1.9.x] Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.
Backport of 10427646b8 from master
2015-12-12 09:50:17 -05:00
Claude Paroz c12ddbd385 Fixed #25717 -- Corrected Slovak local name
Backport of b0ad5081d5 from master.
2015-12-12 09:20:04 +01:00
Bruno Alla 740feb4801 [1.9.x] Fixed #25893 -- Corrected custom lookups example.
Backport of ffcdb0b471 from master
2015-12-11 08:45:12 -05:00
Tim Graham 9f3ce6d987 [1.9.x] Refs #25899 -- Improved visibility of TEST database settings in testing docs.
Backport of 738bda8a6f from master
2015-12-11 08:07:43 -05:00
Sergey Fedoseev 515f149e4d [1.9.x] Fixed #25883 -- Fixed admin deletion page summary counts for related objects.
Backport of 8ab58b8052 from master
2015-12-10 18:11:45 -05:00
Dotan Agmon e7bdc72e17 [1.9.x] Fixed incorrect examples in ArrayField docs.
Backport of a44dc200d0 from master
2015-12-10 17:51:00 -05:00
Federico Frenguelli 722fae4b51 [1.9.x] Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using AlterField.
Thanks to Emanuele Palazzetti for the help.

Backport of 3a36c80795 from master
2015-12-10 16:19:36 -05:00
Derek J. Curtis 364d7d9690 [1.9.x] Fixed #25900 -- Fixed regression in CommonMiddleware ETag support.
Backport of 6be9589eb3 from master
2015-12-10 14:00:49 -05:00
Tim Graham 521db45875 [1.9.x] Moved a few CommonMiddleware tests to the correct test class.
Backport of 5bc881541c from master
2015-12-10 13:45:33 -05:00
Damien 428164fc81 [1.9.x] Refs #25099 -- Added removal of build_request_repr() to 1.9 release notes.
Backport of 071af82539 from master
2015-12-10 11:46:09 -05:00
Shai Berger f1964bc7e2 [1.9.x] Refs #25896 -- Fixed migration test failure on Oracle
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-10 02:19:30 +02:00
Tim Graham 2c6624a673 [1.9.x] Fixed #25711 -- Updated the project template's include() example.
Referencing URLs by dotted path is a stronger convention than
importing the URLs.

Backport of 179fbab7e0 from master
2015-12-09 11:46:33 -05:00
Amos Onn f076cf07ef [1.9.x] Fixed #25896 -- Fixed state bug in SeparateDatabaseAndState.database_backwards().
Backport of 542b7f6c50 from master
2015-12-09 11:08:01 -05:00
Tim Graham bc8bc8a012 [1.9.x] Removed redundant highlight/code-block directives in docs/ref/templates/builtins.txt.
Backport of 890938e756 from master
2015-12-09 10:22:32 -05:00
Andrew Plummer 3f9fbf4243 [1.9.x] Fixed typo in docs/ref/forms/validation.txt.
Backport of 1aa8bf9b43 from master
2015-12-09 07:21:19 -05:00
Gavin Wahl 55fa19e4a6 [1.9.x] Fixed user_passes_test() signature in docs.
Backport of ec708803f7 from master
2015-12-08 15:57:38 -05:00
Nik Nyby abd870651c [1.9.x] Refs #25803 -- Documented npm compatibility in package.json
Backport of d7a58f285b from master
2015-12-08 15:13:53 -05:00
Tim Graham abeb50db5d [1.9.x] Fixed #25895 -- Used a consistent style for UserAdmin overrides.
Thanks Justin Abrahms for the report.

Backport of 166e0490d3 from master
2015-12-08 14:42:11 -05:00
Tim Graham e4354d8d7c [1.9.x] Refs #25886 -- Improved language in Python compatibility section of the release notes.
Backport of 26c26e8308 from master
2015-12-08 13:05:26 -05:00
Tim Graham 5eeb8edfbb [1.9.x] Fixed #25881 -- Marked Python 3.2 in Django 1.8 as unsupported at the end of 2016.
Backport of e6bd688ef3 from master
2015-12-08 12:46:14 -05:00