1
0
mirror of https://github.com/django/django.git synced 2025-02-09 17:06:05 +00:00

22739 Commits

Author SHA1 Message Date
Tommy Beadle
b04e6ec7cb [1.10.x] Fixed #26704 -- Documented DjangoJSONEncoder.
Backport of 729b9452b19b031d3817821128a115d5b2d5caed from master
2016-06-07 14:58:30 -04:00
Brett Haydon
bd7de3cb87 [1.10.x] Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware.
Backport of 5e3f4c2e53d9dde0fcf9f5f33f63c15c4750019f from master
2016-06-07 09:46:58 -04:00
Paulo
34f13e030b [1.10.x] Fixed typos in db/models/fields/related_descriptors.py
Backport of 1a2a7cc01e7c46432605854f143a548635f027e5 and
908c26b079f2d657e30a3155d591a2467ba7d339 from master
2016-06-07 08:53:49 -04:00
Jon Dufresne
32ab8c0340 [1.10.x] Added some links to the TypedChoiceField docs.
Backport of 31a9a965a36c5ce923692e5dac430ea6a1cbf2a0 from master
2016-06-06 12:12:25 -04:00
Tom Christie
d9b78be324 [1.10.x] Fixed #26713 -- Documented resolving deprecation warnings before upgrade.
Backport of 316395d82874beea6af08a873e91b1880d0b982a from master
2016-06-06 11:41:36 -04:00
Tim Graham
72d676bc06 [1.10.x] Documented known Python 3.5+ test failures in contributing tutorial.
Backport of 6a316423df349e2cbc0a4188c55d0639aa2e15c5 from master
2016-06-06 10:50:42 -04:00
Pyie Zone
a9b0b0762f [1.10.x] Refs #26474, DEP 0003 -- Added blanket.js source file.
Backport of 8f8dc830dfeb321b0de3325a8d2c859fdc20c3af from master
2016-06-06 09:36:40 -04:00
Pyie Zone
ef93af919b [1.10.x] Refs #16501, #26474 -- Added xregexp.js source file.
Backport of 054e74420b7a31bac67d4993b462eea7b9b7a5ba from master
2016-06-06 09:36:31 -04:00
Tom Christie
dff1f115e5 [1.10.x] Linked to upgrade guide from release notes.
Backport of da22079c21a02c65e31502dd05720d12c474b257 from master
2016-06-06 07:32:44 -04:00
Tim Graham
dd0a1266f1 [1.10.x] Added stub release notes for 1.9.8.
Backport of 01e567864ef9d9892e7181b62f7c51a1b9f76e37 from master
2016-06-04 19:58:42 -04:00
Tim Graham
9f296b14c4 [1.10.x] Added release date for 1.9.7.
Backport of 1f5eb521a00450ff83c130ca02a3d83b955ee023 from master
2016-06-04 19:27:39 -04:00
Evan Palmer
101f999776 [1.10.x] Fixed #25127 -- Documented how to organize models in a package.
Backport of 84d8d1d7151a4ee70ae35037d37f76a40d18da64 from master
2016-06-04 11:48:16 -04:00
Berker Peksag
9e5b544713 [1.10.x] Used snippet directive in file upload example.
Backport of b9c04801d4b9ad37bd062cbca1a521eaf4047aa8 from master
2016-06-04 09:24:50 -04:00
Tim Graham
8996054cb4 [1.10.x] Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True.
Thanks Simon Charette for review.

Backport of e2296e7f0acf9c50868ab997ba565c1f47beb45b from master
2016-06-04 09:15:10 -04:00
Berker Peksag
27983d82c2 [1.10.x] Fixed #26604 -- Added a multiple file upload example to topics/http/file-uploads.txt.
Backport of 54febdb8be7c9793caae9c781f4d6b7cbbdcd900 from master
2016-06-03 17:42:12 -04:00
B. J. Potter
926529d618 [1.10.x] Fixed #26596 -- Added Jinja2 {{ csrf_input }} documentation.
Backport of 9c53facc45908bc0593de194a60bc75e5d34a48e from master
2016-06-03 15:25:50 -04:00
B. J. Potter
2e7ec15f53 [1.10.x] Added syntax highlighting to CSRF example.
Backport of 261738990e07a039b39aab0664eea71f226cd381 from master
2016-06-03 15:19:23 -04:00
mieciu
9a204fc8a5 [1.10.x] Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.
Backport of 19ff506878071ac93de684fe01328707e75e2b3a from master
2016-06-03 12:42:41 -04:00
Ed Henderson
521772ff07 [1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-06-03 11:49:24 -04:00
shaunagm
971adb9e9c [1.10.x] Fixed #26701 -- Replaced /newticket links to Trac with /.
Backport of 44c7e5d3740edf796591ea3a89b0ff085534f225 from master
2016-06-03 08:49:59 -04:00
Holly Becker
697ed75de5 [1.10.x] Refs #26628 -- Documented CSRF failure logging.
Backport of ff9198ee0f1de24a5b2861d28849344e7a5714c4 from master
2016-06-02 20:44:13 -04:00
jrabbit
83ea51a244 [1.10.x] Fixes #26700 -- Added how to upgrade to TEMPLATES link in 1.10 release notes.
Backport of d65e2899b2b25c62a4ead7aba121421c19e55bce from master
2016-06-02 20:29:20 -04:00
Chad Shryock
cd4246aab1 [1.10.x] Fixed #26526 -- Documented QuerySet.latest()'s dependency on database ordering.
Backport of e6c5e68acd4bff90e371fd148ed6976e147692ad from master
2016-06-02 19:42:57 -04:00
Brad Melin
3eb31867bb [1.10.x] Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of crashing on non-dict JSON input.
Backport of f6517a5335ccc4858ee540548a1bd162bec36c46 from master
2016-06-02 16:29:22 -04:00
Claude Paroz
5641a80d49 [1.10.x] Fixed #26337 -- Added i18n note about using a non-English base language
Thanks Cristiano Coelho for the report and Tim Graham for the review.
Backport of f6fefbf8cb from master.
2016-06-02 20:58:18 +02:00
Alex Hill
85d2b80d5e [1.10.x] Fixed #26686 -- Fixed crash when registering model signals with abstract senders.
Backport of 08014fe75b4fc379523f340191a02147ec35f7a3 from master
2016-06-02 14:46:44 -04:00
Alex Hill
f91247f598 [1.10.x] Fixed #26642 -- Made ModelSignal.disconnect() work with lazy references.
Backport of ff6c6feae17120c2c7df74fb6a9dc76826a1e233 from master
2016-06-02 14:46:31 -04:00
Tim Graham
59f4780b92 [1.10.x] Updated release notes links to prevent warnings with Sphinx 1.4.2.
Backport of 149ace94dfc10504a0e69462c7737f5ce05340a4 from master
2016-06-02 11:42:32 -04:00
Tim Graham
52ab0fd354 [1.10.x] Ignored new warnings when building the docs with Sphinx 1.4.
Backport of af3273757397fa88163174546f2b620d7b4837ed from master
2016-06-02 11:30:53 -04:00
Ramiro Morales
777bc8f7d6 [1.10.x] Fixed #26692 -- Relaxed an i18n compilemessages test.
The actual non-ASCII character differs on Windows.

Backport of 71421e8f8766525e709397f14e100f2846849df0 from master
2016-06-01 09:21:17 -04:00
Tim Graham
bad894d5b8 [1.10.x] Fixed #26695 -- Clarified return value of View.options().
Thanks mmoreaux and DheerendraRathor.

Backport of db2a6b6bfa9881725e70ca579a17e942a97a4df8 from master
2016-06-01 08:29:28 -04:00
Simon Charette
58f0d40b6d [1.10.x] Fixed #26676 -- Prevented prefetching to_attr from caching its result in through attr.
Thanks Ursidours for the report.

Backport of 53a5fb3cc0137bebeebc0d4d321dbfe20397b065 from master
2016-05-31 14:35:20 -04:00
Ramiro Morales
4095317afb [1.10.x] Fixed #26687 -- Made an i18n test not use a hardcoded path separator.
Fixed a failure on Windows.

Backport of e3877c53edb33271b0f31d20e60a924848692026 from master
2016-05-31 12:00:57 -04:00
Florian Apolloner
7bc199aa64 [1.10.x] Fixed a typo in the docs.
Backport of 62e4f8ec435a4b600c8efb071201070a2443477e from master
2016-05-31 10:59:25 -04:00
Berker Peksag
ccea4a44c2 [1.10.x] Fixed #26503 -- Removed an outdated example from session docs.
Backport of 698c8dfc2a5c5865a8bb163c1ae70b75d53e6415 from master
2016-05-31 07:21:16 -04:00
Ketan Bhatt
c2dde7561a [1.10.x] Fixed #26679 -- Documented which methods are disabled on RelatedManager if there's an intermediate table.
Backport of 59523c06fe482232dad9dc63ef0baab63418196d from master
2016-05-31 07:15:15 -04:00
Christophe Pettus
3e1c8fc4c0 [1.10.x] Fixed #26684 -- Removed incorrect index example in docs/ref/contrib/postgres/search.txt.
Backport of 92107522ed3568740ec7c3597db50b5c3a6e84d3 from master
2016-05-30 14:21:48 -04:00
Vytis Banaitis
b737c0f5db [1.10.x] Fixed #25044 -- Fixed migrations for renaming ManyToManyField's through model.
Backport of f1e408ff40d2c1753f92515c70a44634b4d47467 from master
2016-05-30 10:27:28 -04:00
Berker Peksag
ab92351bc6 [1.10.x] Fixed #13080 -- Corrected accepted values of sender parameter in Signal.connect() docstring.
Backport of 995d09ead492a1c3d71d781c7846f622b3f71186 from master
2016-05-30 08:18:01 -04:00
Ramiro Morales
af8ac46015 [1.10.x] Fixed #26674 -- Corrected a i18n makemessages test.
Made it consistently read the PO file, decode its contents and then
check for the non-breaking space Unicode code point.

Previously we were erroneously skipping the interpretation of what we
read as UTF-8 text.

This was causing the test to fail on Windows with Python 3.5.

Backport of 1b00ed088073ffd268af15d25246d2565253536d from master
2016-05-29 12:49:47 -04:00
Tim Graham
e140139724 [1.10.x] Confirmed support for PostGIS 2.2.
Backport of cbea13f3447c3673a3cf25dab93f1dbc685ccd44 from master
2016-05-28 20:48:55 -04:00
Tim Graham
23e106bb72 [1.10.x] Refs #22634 -- Removed unneeded app_label in custom session engine example.
Backport of cc0d1eaaea40dc9d784c6974be1ce631a2087c11 from master
2016-05-28 17:33:28 -04:00
Ramiro Morales
e0a4d4477c [1.10.x] Fixed #26673 -- Fixed a I18N test case error on Windows+Python 2.7.
`subprocess.Popen` doesn't accept enviroment vars with Unicode var name
or value.

Backport of 15a5755e7cca630c2a0dbbcba436621ccc437c21 from master
2016-05-28 17:16:03 -04:00
Tim Graham
f529d0cb58 [1.10.x] Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved model instances.
This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc
but is needed to prevent a crash in formtools.

Backport of a4c20ae85b40c49e28d1b2227208e4f00d7820df from master
2016-05-28 16:06:06 -04:00
Ramiro Morales
fc644076cd [1.10.x] Fixed #26645 -- Fixed potential makemessages failures on Windows.
This was reflected by 27 i18n test errors (not failures) on such
platform caused by corrupt intermediate PO catalog files fed to
`msgmerge(1)`.

Made it handle in-memory PO/POT file contents with normalized line
separators (`'\n'`).

We need to perform manually this after using `subprocess.Popen` as we
can't pass it `universal_newlines=True`.

Also fixes #26670 in the process as this commit refactors the same code
section.

Backport of 6ab0d1358fc78077064aab88a4fb0a47ca116391 from master
2016-05-28 08:41:55 -04:00
Bas Westerbaan
c6aa941978 [1.10.x] Fixed #26635 -- Clarified Argon2PasswordHasher's memory_cost differs from command line utility.
Backport of 9407cc966b02e5ef69b7f561a6b972aff5d9c2e0 from master
2016-05-27 18:37:37 -04:00
Daniel Wiesmann
85ab56944d [1.10.x] Refs #25588 -- Fixed GDAL dependency in spatial lookups.
Backport of 9bb1b4b7f6b79096fc7418c3b7bb0118d44c373a from master
2016-05-27 17:07:26 -04:00
Tim Graham
9985544adb [1.10.x] Fixed #26652 -- Documented removal of model instance _(default/base)_manager attributes.
Backport of 0e7e47b5d7123441efc03545da59a6cd581c04b1 from master
2016-05-27 10:36:35 -04:00
Sergey Fedoseev
f38e950685 [1.10.x] Fixed typo in docs/topics/forms/modelforms.txt
Backport of 26794f6657a9d201d47a0748a449a94ad5d7c66e from master
2016-05-27 10:31:53 -04:00
Nick Smith
06db2b88cf [1.10.x] Fixed typo in docs/ref/models/querysets.txt
Backport of 838386815f53fe2cba1b42c498420881660079d4 from master
2016-05-27 09:13:12 -04:00