Commit Graph

22916 Commits

Author SHA1 Message Date
Loïc Bistuer 0f23bcebdf [1.10.x] Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by the manager inheritance refactor.
This also makes migrations respect the base_manager_name and
default_manager_name model options.

Thanks Anthony King and Matthew Schinckel for the initial patches.

Backport of 2eb7cb2fff from master
2016-06-20 12:56:37 -04:00
Andrew Nester 7a3cc2957f [1.10.x] Fixed #26776 -- Documented url()'s view argument.
Backport of a12826bba7 from master
2016-06-20 11:57:58 -04:00
Tim Graham 44eaa2dac8 [1.10.x] Fixed typo in docs/topics/db/managers.txt
Backport of 00551c3eff from master
2016-06-20 09:07:51 -04:00
Tim Graham 91d754eb2a [1.10.x] Fixed #26778 -- Fixed ModelSignal.connect() weak argument.
Backport of 9bf8d50a67 from master
2016-06-18 20:45:58 -04:00
Claude Paroz 1b6de8fd23 [1.10.x] Fixed #26775 -- Supported dim=3 geography fields
Thanks François-Xavier Thomas for the report.
Backport of 8ba44ecda0 from master.
2016-06-18 21:50:45 +02:00
Paul J Stevens d3b9c49919 [1.10.x] Refs #26772 -- Added a test for FileField reopening closed files.
Thanks Simon Charette for review.

Backport of b45852c263 from master
2016-06-18 12:46:42 -04:00
Tim Graham e2b266fdf7 [1.10.x] Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File."
This reverts commit 1b407050dd as it
introduces a regression in the test for refs #26772.

Backport of cd217de610 from master
2016-06-18 12:46:34 -04:00
Markus Holtermann 31a789f646 [1.10.x] Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings.
Fixed a regression in 2f16ff5a6c.

Thanks Tim Graham for the review.

Backport of 625b8e9295 from master
2016-06-18 10:39:49 -04:00
Tim Graham 1213ef2b18 [1.10.x] Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ModelChoiceIterator.
Regression in 86573861a9
2016-06-18 10:37:37 -04:00
Tim Graham bdc29b7188 [1.10.x] Reverted "Fixed #26398 -- Made FieldFile.open() respect its mode argument."
This reverts commit a52a531a8b due to
regressions described in refs #26772.

Backport of 7def55c3f6 from master
2016-06-17 21:08:56 -04:00
Trey Hunner 799fbc7235 [1.10.x] Added urlpatterns variable in docs/topics/http/urls.txt.
Backport of 91e9be45ed from master
2016-06-17 21:02:40 -04:00
Carl Meyer 69de988f92 [1.10.x] Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling.
Backport of 7d1b69dbe7 from master
2016-06-17 15:55:55 -04:00
Carl Meyer 34fbec3cb4 [1.10.x] Moved old-middleware tests in preparation for adding new tests.
Backport of 104ee2fdae from master
2016-06-17 15:55:44 -04:00
Carl Meyer 6be0e93b8f [1.10.x] Improved debugging of failed middleware_exceptions tests.
Backport of 702dfa3589 from master
2016-06-17 09:16:12 -04:00
Tim Graham f94f4db0a3 [1.10.x] Used SQL from DB backend in GeomValue.
This avoids the deprecated GeomFromText on MySQL (refs #26134).

Thanks Claude Paroz for the review.

Backport of 9c3fbf5423 from master
2016-06-16 20:32:09 -04:00
Jon Dufresne 13d60298ea [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.
Backport of 4f336f6652 from master
2016-06-16 14:21:14 -04:00
Tim Graham 70b7d6b4ea [1.10.x] Fixed flake8 2.6 warnings.
Backport of ea34426ae7 from master
2016-06-16 09:33:02 -04:00
Ville Skyttä efe9874371 [1.10.x] Fixed broken links in docs and comments.
Backport of 96f97691ad from master
2016-06-15 21:20:38 -04:00
Sergey Fedoseev f9b3a6a76f [1.10.x] Refs #14030 -- Updated docs per "Improved expression support for python values."
Complements e2d6e14662.

Backport of db613f4f12 from master
2016-06-15 10:35:34 -04:00
Tim Graham 539ccfbf62 [1.10.x] Removed nonexistent attribute in docs/ref/contrib/admin/index.txt
Backport of abec15ad81 from master
2016-06-15 08:32:08 -04:00
Hugo Osvaldo Barrera c37f9253a6 [1.10.x] Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.
914c72be2a introduced a regression that
causes saving a NamedTemporaryFile in a FileField to raise a
SuspiciousFileOperation. To remedy this, if a File has an absolute
path as a filename, use only the basename as the filename.

Backport of 1b407050dd from master
2016-06-14 09:58:27 -04:00
Ville Skyttä 84737135f6 [1.10.x] Removed usage of a deprecated unittest assertion.
Backport of fa654da613 from master
2016-06-14 09:04:53 -04:00
Ville Skyttä 61bcf04132 [1.10.x] Fixed #26754 -- Documented django.template.context_processors.tz
Backport of 7003174fec from master
2016-06-14 11:58:50 +02:00
Dmitry Medvinsky 8f91c42b58 [1.10.x] Fixed #26742 -- Fixed action select color in admin changelist.
Backport of 0451dcc2eb from master
2016-06-10 11:39:46 -04:00
Berker Peksag 3b75d1262e [1.10.x] Fixed #21588 -- Corrected handler initialization in "modifying upload handlers" example.
Backport of 8f50ff5b15 from master
2016-06-09 12:51:57 -04:00
John Karahalis fccb03fc40 [1.10.x] Fixed typo in docs/intro/tutorial07.txt
Backport of 37b36af6c6 from master
2016-06-09 11:15:52 -04:00
Baylee Feore 5e46075fcf [1.10.x] Fixed #26702 -- Documented how to change the base class of a custom field.
Backport of 7767978bee from master
2016-06-08 10:38:48 -04:00
Tommy Beadle b04e6ec7cb [1.10.x] Fixed #26704 -- Documented DjangoJSONEncoder.
Backport of 729b9452b1 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 5e3f4c2e53 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 1a2a7cc01e and
908c26b079 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 31a9a965a3 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 316395d828 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 6a316423df 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 8f8dc830df 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 054e74420b 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 da22079c21 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 01e567864e 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 1f5eb521a0 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 84d8d1d715 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 b9c04801d4 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 e2296e7f0a 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 54febdb8be 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 9c53facc45 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 261738990e 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 19ff506878 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 4a4d7f980e 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 44c7e5d374 from master
2016-06-03 08:49:59 -04:00
Holly Becker 697ed75de5 [1.10.x] Refs #26628 -- Documented CSRF failure logging.
Backport of ff9198ee0f 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 d65e2899b2 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 e6c5e68acd from master
2016-06-02 19:42:57 -04:00