1
0
mirror of https://github.com/django/django.git synced 2025-03-19 05:40:46 +00:00

21458 Commits

Author SHA1 Message Date
Tim Graham
411b8da362 [1.9.x] Made LiveServerTestCase example use StaticLiveServerTestCase.
Backport of 6b5ae92927cb69e8709ab2bb05f6721a7cd37a3c from master
2015-10-28 13:51:22 -04:00
Tim Graham
774a893d0b [1.9.x] Fixed #25618 -- Added a helpful error message when Django & south migrations exist in the same directory.
Forwardport of 65bff161ffab1310719bdee495d1e9b35f838c31 from stable/1.8.x
2015-10-28 10:19:35 -04:00
Tim Graham
b49716cd99 [1.9.x] Added "Attributes set by application code" section to HttpRequest.
Backport of dc193d0f6de6c4eb08c2d160db44b2bf18d96af4 from master
2015-10-28 09:35:54 -04:00
Ian Foote
32e804cdb7 [1.9.x] Fixed #25609 -- Fixed regression in related field nested lookup error.
Backport of 32ef48aa562e6aaee9983f5d0f1c60f02fd555fb from master
2015-10-27 13:57:52 -04:00
Simon Charette
da9e9484f2 [1.9.x] Revert "Fixed #25417 -- Added a field check for invalid default values."
This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69.

Backport of 976bd519a879b2fd7a356cb21bde32696adb545f from master
2015-10-27 11:17:02 -04:00
Tim Graham
1c0f598764 [1.9.x] Removed unnecessary app_label='auth' on auth_tests models.
This is a relic of when the tests were stored in contrib.auth.tests.

Backport of 590b8c1c57217bd8bd33998bae490dbe3d09f045 from master
2015-10-27 08:38:19 -04:00
Tim Graham
0b4d11e175 [1.9.x] Fixed #25596 -- Fixed regression in password change view with custom user model.
The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49
crashed on a custom user model.

Backport of 5acf203db2e9562dbe4073bf85d5043ef3121ea9 from master
2015-10-27 08:38:12 -04:00
Tim Graham
64a9115bce [1.9.x] Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value.
Backport of 1f07da3e29c7c3d47968e1c4531dd9bf902575b7 from master
2015-10-27 08:13:21 -04:00
Tim Graham
e764f92cda [1.9.x] Added Django 1.10 to Python version support table.
Backport of 23073f964442ff754a28cb218e2f37425ebaef15 from master
2015-10-26 10:36:44 -04:00
Tim Graham
ec388ee174 [1.9.x] Documented Python 3.5 support for Django 1.8.
Forwardport of d27085b02d58ecf8b72e7189b6a5feaf634ec977 from stable/1.8.x
2015-10-26 10:13:50 -04:00
Tim Graham
1a6258c090 [1.9.x] Documented related model descriptor class renames.
Renamed in e542e81b39e8610b70cf1d68f95ece0279028765.

Backport of d6a907478345b6b2fe259a2fe70e6d29676f1a7e from master
2015-10-26 08:54:33 -04:00
Curtis Maloney
bb1b2251ef [1.9.x] Optimized docs images and documented the process.
Backport of 35440ceab72ea3c24f3faaea9765271c7dac78f7 from master
2015-10-24 14:57:48 -04:00
Tim Graham
96c0ba380d [1.9.x] Fixed #25434 -- Documented HttpRequest.site and created a section for middleware attributes.
Thanks Nick Pope for the initial patch.

Backport of 02ef96c5e58d8d3492b6e38246c8268f1a0de47e from master
2015-10-24 09:59:27 -04:00
Claude Paroz
90b539170d [1.9.x] Renamed deprecated logger.warn to warning
Backport of 81fed5bc33 from master.
2015-10-24 11:49:04 +02:00
Sergey Fedoseev
e6220b49f5 [1.9.x] Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform.
Backport of 310049a5a from master.
2015-10-24 10:55:13 +02:00
Jacek Bzdak
488538e55e [1.9.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3e5996d857b085f188a630d1504d9ca from master
2015-10-23 15:24:14 -04:00
薛丞宏
2eab4acb3e [1.9.x] Clarified that the test client response content attribute is bytes.
Backport of 484edc81c1ebd195c333f3ea8d3f9ca882a17837 from master
2015-10-23 14:27:20 -04:00
Tim Graham
ca46dc323b [1.9.x] Fixed "URLconf" spelling in code comments.
Backport of 37ea3cb03e80de80380009a7a7939bc48d75abe9 from master
2015-10-22 14:47:15 -04:00
Claude Paroz
e241444ef5 [1.9.x] Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
Fixes a regression from 2bd1bbc42. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
Backport of c08f85fd54 from master.
2015-10-22 20:33:55 +02:00
Benjamin Wohlwend
c367abb11b [1.9.x] Refs #24622 -- Documented alternatives to some test response attributes when using alternative template engines.
Backport of 2b9eed41fa26537d1af4f818c6e4296ce3305b01 from master
2015-10-22 14:11:22 -04:00
Tim Graham
02f3084f4e [1.9.x] Fixed #25584 -- Documented a pip error when installing Django 1.9.
Backport of ee66d8dd7df8326c453fd04c2bdeb5225df934be from master
2015-10-22 10:09:04 -04:00
Tim Allen
3d192b66a9 [1.9.x] Revised Windows install instructions for Python 3.5.
Added instructions for installing virtualenv and virtualenvwrapper.

Backport of 1ce11f6064e61af74578c402b9334b6ff38b97b2 from master
2015-10-21 20:27:21 -04:00
Tim Graham
55ed23fd3e [1.9.x] Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
Backport of 80855a4b3787bace050a8b4a2b80f79306e69812 from master
2015-10-21 13:53:48 -04:00
Jacek Bzdak
5a9e93e054 [1.9.x] Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
Backport of 32cd7069711d2e02fcd20c005c59c175d542c62e from master
2015-10-21 11:46:01 -04:00
Sergey Fedoseev
b5091a0475 [1.9.x] Removed duplicated entry from AUTHORS.
Backport of 87d2bdd212bdb260134635c2e242d2373ec54c7c from master
2015-10-21 11:02:58 -04:00
Yusuke Miyazaki
a083d70192 [1.9.x] Fixed #25578 -- Corrected the casing of "GitHub".
Backport of 230d8c7301281176a31443a2f4f425828291e46d from master
2015-10-21 07:32:28 -04:00
John Vandenberg
614ba3ad2d [1.9.x] Fixed quad quoted ("""") docstring starts.
Backport of 9e3f6c7483d2362660e2bee554125d0215789d9d from master
2015-10-20 12:20:11 -04:00
Tim Graham
e70a309c42 [1.9.x] Bumped version for 1.9 beta 1. 1.9b1 2015-10-19 21:02:42 -04:00
Tim Graham
994e7661a8 [1.9.x] Fixed #25562 -- Skipped a time dependent admin_filters test on Windows.
Backport of 4a50daf6b343db1b5c316aa29efd657e160d0cd3 from master
2015-10-19 20:27:36 -04:00
Simon Charette
522b0bc91f [1.9.x] Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.

Backport of 3db3ab71e97d34260057a6f51d4b2f72da30dc8d from master
2015-10-19 20:13:16 -04:00
Ville Skyttä
094a60847a [1.9.x] Fixed #25566 -- Added title to admin's closing popup response page
Backport of aff4b75c34d62ec932414b5099016007fff17317 from master
2015-10-19 19:36:00 -04:00
Simon Charette
3aeb84df25 [1.9.x] Fixed #25560 -- Made empty string related_name invalid.
Thanks to Ali Lotfi for the initial report and patch
and Tim Graham for the review.

Backport of c1b6a8a98b08fedfa3f3c69bc7add94c5841ba57 from master
2015-10-19 10:11:36 -04:00
Ville Skyttä
d8b2645032 [1.9.x] Fixed #25565 -- Removed action="" from admin forms (invalid in HTML5).
Backport of 6ff500127a21f5f2104dc77a09dfa73d5f7c94ce from master
2015-10-19 10:11:21 -04:00
Josh Smeaton
7a3b486ccd [1.9.x] Fixed #25517 -- Made Concat function idempotent on SQLite.
Backport of 6c95b134e9b2d5641c123551c080305e90e6a89d from master
2015-10-17 15:56:00 -04:00
Yusuke Miyazaki
9039ff60e3 [1.9.x] Fixed #25346 -- Allowed collectstatic to delete broken symlinks.
Backport of 0922bbf18d3ae8f37e1823df2dbc270d33334548 from master
2015-10-17 14:14:29 -04:00
Tim Graham
faafd55722 [1.9.x] Used SchemaEditor.delete_model() for teardown in schema tests.
Some third-party database backends (MSSQL) have custom
delete_model() requirements that must be executed.

Thanks Michael Manfre for the initial patch and review.

Backport of 4dcc2a195595f8d7ddad45bc4baf98ffdeec7f41 from master
2015-10-16 09:12:20 -07:00
Tim Graham
d1ccf7b784 [1.9.x] Forwardported 1.8.6 release note. 2015-10-14 12:24:43 -07:00
Antoine Catton
36e7d275ec [1.9.x] Fixed #25506 -- Allowed filtering over a RawSQL annotation.
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>

Backport of b971c1cd78a0bf831c1c30080089c4a384d037a0 from master
2015-10-14 11:24:12 -07:00
Antoine Catton
38d6e1e2ad [1.9.x] Fixed #25535 -- Made ForeignObject checks less strict.
Check that the foreign object `from_fields` are a subset of any unique
constraints on the foreign model.

Backport of 80dac8c33e7f6f22577e4346f44e4c5ee89b648c and
c7aff31397a7228f6ac2e33c10ebdf36c4b7a9b7 from master
2015-10-14 05:26:42 -07:00
Sergey Fedoseev
aa0a3b680e [1.9.x] Fixed quotes in GeoQuerySet aggregates examples.
Backport of 92c1ae1b0b9955a511c19e07921c10126b6faa54 from master
2015-10-13 23:40:31 -04:00
Tim Graham
33c6a8b621 [1.9.x] Fixed typo in docs/ref/models/relations.txt.
Backport of f6b9e6bf4fab731a28489ec735cc330255ef03ab from master
2015-10-13 04:30:58 -07:00
Claude Paroz
f35b8f8e3f [1.9.x] Added precision about GeoJSON field outputs
Backport of 533c1099 from master.
2015-10-12 21:49:37 +02:00
Claude Paroz
66319cc597 [1.9.x] Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
Thanks Bibhas Debnath for the report and Tim Graham for the review.
Backport of 617b1a21f from master.
2015-10-11 12:25:47 +02:00
Claude Paroz
86dc4889f8 [1.9.x] Pluralized translatable strings in password_validation.py 2015-10-10 15:14:36 +02:00
Claude Paroz
60471c9600 [1.9.x] Simplified translatable string in admindocs template 2015-10-10 14:52:49 +02:00
Tim Graham
7cd299584d [1.9.x] Fixed #22705 -- Fixed QuerySet.bulk_create() on models without any fields on Oracle.
Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01.

Thanks Mariusz Felisiak for the solution.

Backport of 7a5b7e35bf2e219225b9f26d3dd3e34f26e83e9c from master
2015-10-09 14:42:31 -04:00
Claude Paroz
f717cb2ab4 [1.9.x] Updated translation catalogs 2015-10-09 18:00:06 +02:00
Tim Graham
b646fbe4a7 [1.9.x] Fixed #14368 -- Allowed setting a reverse OneToOne relation to None.
Backport of 384ddbec1b73a4636f234da3894fde8f8420bb63 from master
2015-10-09 10:59:57 -04:00
Daniel Wiesmann
4326ac687e [1.9.x] Fixed #25533 -- Changed datatype mapping for GDALRasters
Backport of 5d8985005e from master.
2015-10-09 16:03:42 +02:00
Tim Graham
2c11002fec [1.9.x] Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF.
Backport of 25f287f6b2f677213605364c33bb37f33feac953 from master
2015-10-07 19:36:57 -04:00