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

8530 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Claude Paroz
c894f215e2 [1.9.x] Added some function links in translation docs
Backport of 9a6fc9606c from master.
2015-10-07 17:31:28 +02:00
Mariusz Felisiak
fbe8930745 [1.9.x] Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
Backport of 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a from master
2015-10-06 19:23:53 -04:00
Tim Graham
d81b0812d4 [1.9.x] Fixed #25515 -- Documented the return value of BaseCommand.handle()
Backport of 3f766d44c5ea000ecf47829ca565b1921dab2ac1 from master
2015-10-06 15:09:55 -04:00
Tim Graham
2f9bc99334 [1.9.x] Fixed #25516 -- Documented that parallel test excution doesn't work with pdb.
Backport of cb15ceb5555de0799210a0ce37e744fd4f284b36 from master
2015-10-06 13:27:50 -04:00
Riccardo Magliocchetti
6f653f759a [1.9.x] Refs #12118 -- Allowed "mode=memory" in SQLite test database names.
Backport of 3543fec3b739864c52de0a116dde3b0e5e885799 from master
2015-10-06 12:33:21 -04:00
Tim Graham
6bc8bdf55a [1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related().
Backport of 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e from master
2015-10-05 19:19:09 -04:00
Tim Graham
9f31439e67 [1.9.x] Fixed #25502 -- Added supported Python versions in 1.7, 1.8 release notes.
Backport of b215a3ab63d1c34746855594656e988561484fe3 from master
2015-10-05 14:20:06 -04:00
Tim Graham
9b91c7d99d [1.9.x] Added stub release notes for 1.8.6.
Backport of 58195f0b16999245ada6bd010b71c9c5352ae608 from master
2015-10-03 19:58:32 -04:00
Tim Graham
c5268b1a74 [1.9.x] Added release date for 1.8.5.
Backport of 2eb5589a721488b592ed05d6790d9ad7d2b9dafd from master
2015-10-03 19:35:18 -04:00
Ben Kraft
63a1e912a7 [1.9.x] Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model.
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in
particular it did not add the `_django_version` attribute added in 42736ac8.
Now it will handle this and other custom `__reduce__` methods correctly.

Backport of 35355a4ffedb2aeed52d5fe3034380ffc6a438db from master
2015-10-03 13:01:08 -04:00
Andrew Artajos
0633d2285e [1.9.x] Fixed #25398 -- Revised instances of os.path.join()
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')

Backport of d2ef521a53 from master.
2015-10-03 09:09:41 +02:00
John Moses
6a582d35f2 [1.9.x] Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
Backport of ac09d22f7913ff09f98001ff51b783932290e378 from master
2015-10-02 13:00:48 -04:00
Nick Williams
1147b55e8b [1.9.x] Fixed link to the MySQL Connector/Python Django Backend documentation.
Backport of 3f342d74e9196da475dd312cf43eaffec13af964 from master
2015-10-02 12:33:23 -04:00
Tim Graham
1084b421f1 [1.9.x] Made a couple tutorial corrections for Django 1.9.
Backport of 8a5a002f2f94eec2a6d01e3004c3e6a2ddccd432 from master
2015-10-01 15:19:10 -04:00
Tim Graham
05968192f7 [1.9.x] Removed an old note (Django 1.4-era) from the tutorial.
Backport of 1515b6a8b375612addc0019d537fcbf0349d942c from master
2015-10-01 14:52:14 -04:00
Tim Graham
3569e9d4a1 [1.9.x] Refs #24505 -- Forwardported 1.8.5 release note.
Backport of 061801e3dfb3f88550cdaeef1a6dd1c24c13d53d from master
2015-09-30 18:47:44 -04:00
David Sanders
d6632f2111 [1.9.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
Backport of 5c6316dc3467fd7b669bea9157f591ac5fd00ec4 from master
2015-09-30 08:44:37 -04:00
Tim Graham
00270ec7f8 [1.9.x] Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt
Backport of b47552b445547e60cc89213f79e02333cb63f270 from master
2015-09-29 19:40:56 -04:00
Tim Graham
59027a4cae [1.9.x] Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
Thanks Simon Charette for the DeprecationInstanceCheck class.

Backport of 8d1a001ef6dcbbe8053da05cdb3ec99965b0953f from master
2015-09-29 19:20:11 -04:00
David Sanders
60fe6efe50 [1.9.x] Improved "“standalone” Django usage" example.
Backport of ae9f9dc37f39afeaa45c646cf6eef81beffcf021 from master
2015-09-29 15:09:28 -04:00
Tim Graham
e21c6f34de [1.9.x] Fixed #25376 -- Required virtualenv in installation instructions.
Thanks Anjul Tyagi for some of the draft text.

Backport of a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e from master
2015-09-29 14:33:50 -04:00
Tim Graham
0094fb6be8 [1.9.x] Documented auth's login/logout function parameters.
Backport of c14b6b52ff131db263bf06a02f903a73390975da from master
2015-09-28 14:12:32 -04:00