Commit Graph

23859 Commits

Author SHA1 Message Date
Tim Graham 6109a04251 [1.11.x] Fixed a backends test with psycopg2 2.7.
Backport of 49a63d08d3 from master
2017-03-01 13:20:23 -05:00
Adam Johnson 6382a60f28 [1.11.x] Fixed typo in docs/releases/1.10.6.txt.
Backport of c1d652c62f from master
2017-03-01 10:11:51 -05:00
Tim Graham bb049268c6 [1.11.x] Added release date for 1.10.6.
Backport of 4f22505a9f from master
2017-03-01 08:27:46 -05:00
Matthew Schinckel 2864bb3ba6 [1.11.x] Fixed #27862 -- Fixed incorrectly quoted table aliases in Subquery SQL.
Add aliases from resolved querysets to the parent query's external
aliases to prevent those aliases from being quoted.

Thanks to Vasily Stepanov for the report and Tim Graham for the review.

Backport of f48bc7c3db from master
2017-03-01 08:21:12 -05:00
Tim Graham 3a3145bfcd [1.11.x] Refs #27843 -- Fixed 'invalid escape sequence' warning in truncate_name().
Backport of 82026d61a3 from master
2017-02-27 09:31:06 -05:00
Alexkane c231e965e7 [1.11.x] Made a few queryset lookup examples consistent.
Backport of b427f0d674 from master
2017-02-24 16:35:24 -05:00
Tim Graham 22eb15a18c [1.11.x] Fixed #27875 -- Doc'd manager_inheritance_from_future in manager docs. 2017-02-24 16:15:36 -05:00
Chris Lamb 5a85f2ca5f [1.11.x] Fixed #27873 -- Fixed crash in setup_test_environment() if ALLOWED_HOSTS is a tuple.
Regression in 17e661641d

Backport of 339d526d55 from master
2017-02-24 14:06:42 -05:00
Tim Graham 53f5dc10cd [1.11.x] Refs #25187 -- Fixed AuthBackend.authenticate() compatibility for signatures that accept a request kwarg.
Backport of c31e7ab5a4 from master
2017-02-24 13:59:34 -05:00
Chris Lamb 0417bf47a6 [1.11.x] Fixed #27874 -- Fixed URL namespace warning (urls.W005) for nested namespaces.
Backport of 8d4885ede5 from master
2017-02-24 13:59:28 -05:00
Claude Paroz a86ec78fe6 [1.11.x] Completed 1.10.6 release note 2017-02-23 10:27:28 +01:00
Manatsawin Hanmongkolchai 45b301d078 [1.11.x] Updated Thai (th) locale formats.
Backport of 46e51632dc from master
2017-02-22 10:19:19 -05:00
Asif Saifuddin Auvi faa14f358a [1.11.x] Updated Bengali (bn) locale formats.
Backport of 9d984f8806 from master
2017-02-22 09:28:09 -05:00
Timothy Allen 138b7b07c8 [1.11.x] Used "0" ip shortcut for runserver example.
Backport of 7d20a7d88a from master
2017-02-21 19:13:22 -05:00
Vytis Banaitis d03153e3b0 [1.11.x] Fixed #27856 -- Improved accuracy of date subtraction on PostgreSQL.
Accuracy was incorrect when dates differ by a month or more.

Backport of 4045fd56cb from master
2017-02-21 12:49:31 -05:00
Tim Graham d53fc7614d [1.11.x] Refs #23151 -- Removed RegexField's unused error_message parameter.
Should have been removed in b6ea1961eb.

Backport of afcf44c101 from master
2017-02-20 19:09:43 -05:00
Tim Graham 2a0d8ae9bd [1.11.x] Bumped version for 1.11 beta 1. 2017-02-20 18:11:25 -05:00
Collin Anderson 808d33c1bf [1.11.x] Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the wrapped widget.
Backport of fb7e0e01af from master
2017-02-20 08:48:17 -05:00
Alexey Rogachev 447c6802f0 [1.11.x] Fixed typo in DurationField's docstring.
Backport of c743af82cf from master
2017-02-20 08:45:01 -05:00
Mariusz Felisiak 87775b64cd [1.11.x] Fixed #27843 -- Fixed truncate_name() when the name contains a username.
Backport of b935190572 from master
2017-02-17 09:44:36 -05:00
Mariusz Felisiak a66f448f11 [1.11.x] Added tests for db.backends.utils.truncate_name().
Backport of 1f7ca85866 from master
2017-02-17 09:30:32 -05:00
Vytis Banaitis eedf276ed1 [1.11.x] Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from DateField on Oracle/PostgreSQL.
Backport of d5088f838d from master
2017-02-16 12:35:40 -05:00
Tim Graham 4f0185aac3 [1.11.x] Clarified that creating a pull request for the tutorial isn't necessary.
Backport of 5729272509 from master
2017-02-16 11:34:21 -05:00
Tim Graham 2f6cdc09c4 [1.11.x] Fixed #27135 -- Made index introspection return Index.suffix.
Backport of b008f7cc56 from master
2017-02-15 21:07:53 -05:00
Joon Hwan 김준환 197a2cd487 [1.11.x] Made a sentence in default_if_none docs consistent with other template filters.
Backport of a7214f0e84 from master
2017-02-15 08:42:24 -05:00
Tim Graham 2b8a345996 [1.11.x] Removed docs/internals/roles.txt.
It's moved to https://www.djangoproject.com/foundation/teams/.

Backport of 3d14cbc867 from master
2017-02-15 08:32:48 -05:00
Markus Holtermann f5ff5be2c1
[1.11.x] Fixed #27840 -- Fixed KeyError in PasswordResetConfirmView.form_valid().
When a user is already logged in when submitting the password and
password confirmation to reset a password, a KeyError occurred while
removing the reset session token from the session.

Refs #17209

Thanks Quentin Marlats for the report and Florian Apolloner and Tim
Graham for the review.
2017-02-15 00:38:57 +01:00
Tim Graham da2e92d25e [1.11.x] Fixed GeoIP test failure with the latest data. 2017-02-14 09:08:17 -05:00
Tim Graham 8bf9967e7b [1.11.x] Fixed #27823 -- Updated mod_wsgi example to use WSGIPythonHome.
Backport of 103e6cf26c from master
2017-02-13 19:52:33 -05:00
amalia b54fff2938 [1.11.x] Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash.
Backport of 2f10216f84 from master
2017-02-13 16:43:23 -05:00
Robert Roskam c091614450 [1.11.x] Fixed #27367 -- Doc'd and tested reversing of URLs with the same name.
Thanks Reinout van Rees for contributing to the patch.

Backport of 98bcc5d81b from master
2017-02-11 09:02:30 -05:00
Mads Jensen ded0632d94 [1.11.x] Refs #26610 -- Added CIText mixin and CIChar/Email/TextField.
Backport of fb5bd38e3b from master
2017-02-11 07:16:58 -05:00
Tim Graham 9658f0d266 [1.11.x] Fixed #27722 -- Reallowed using django.Template in {% include %}.
Backport of fe2d288434 from master
2017-02-11 06:52:14 -05:00
Tim Graham eeb28f4751 [1.11.x] Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in multi-table inheritance models."
This reverts commit 74a575eb72 as it causes
unexpected migrations and doesn't seem to be the best solution.

Backport of 0595bca221 from master
2017-02-11 06:40:30 -05:00
Claude Paroz ad0b22d730 [1.11.x] Removed WSGIServer.server_bind() identical to parent version
The method customization was removed in 2ca00faa91.
Backport of d4b00c5c24 from master.
2017-02-11 11:20:17 +01:00
ClairePhila 4101b57b19 [1.11.x] Refs #27148 -- Fixed UUIDField.to_python(None) crash.
Regression in 2f9861d823.

Backport of d26413113c from master
2017-02-10 14:34:14 -05:00
Tim Graham 0c21c49068 [1.11.x] Explained the shell's $ prefix in tutorial 1.
Thanks Luke Sneeringer for the suggestion.

Backport of ad36e5480d from master
2017-02-09 09:34:48 -05:00
Tim Graham ac7a186c34 [1.11.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 545a88fc16 from master
2017-02-08 12:34:37 -05:00
Tim Graham 638bab2cab [1.11.x] Fixed #27821 -- Clarified docs of the return value of Form.clean_<fieldname>().
Thanks Christian Ullrich for the report and review.

Backport of 8863c475c5 from master
2017-02-08 08:39:32 -05:00
Tim Graham 035c3a71dd [1.11.x] Fixed #27814 -- Removed an inaccurate sentence about Paginator.orphans.
Backport of 27793431cf from master
2017-02-07 14:15:31 -05:00
Zoltan Gyarmati f94e1a5de4 [1.11.x] Fixed #27815 -- Made LoginView pass the request kwarg to AuthenticationForm.
Backport of 41ba27fefd from master
2017-02-07 09:42:21 -05:00
Atul Varma 8a60e3d3fd [1.11.x] Fixed typo in docs/releases/1.11.txt.
Backport of 10c47f7b47 from master
2017-02-07 07:50:02 -05:00
Tim Graham 2b17e4770b [1.11.x] Fixed #27805 -- Fixed ClearableFileInput's "Clear" checkbox on model fields with a default.
Backport of 4353640ea9 from master
2017-02-06 20:55:47 -05:00
Jon Dufresne f14899412d [1.11.x] Fixed running TransactionsPerRequestTests in isolation.
Caused by `contrib/auth/backends.py` changes in
cb7bbf97a7.

Backport of 3f62d20a9b from master
2017-02-04 14:20:10 -05:00
David Sanders fe86a785a1 [1.11.x] Fixed #27741 -- Isolated TestCollectionHashedFilesCache in a tmpdir.
Backport of 8e3f9d3ee2 from master
2017-02-03 19:10:19 -05:00
Tim Graham bc95e6a0bf [1.11.x] Removed ExceptionReporter support for string exceptions.
Reverted refs #6423 since raising string exceptions is prohibited
since Python 2.5.

Backport of 0205e04ce7 from master
2017-02-01 19:48:27 -05:00
Lex Berezhny d43f847847 [1.11.x] Fixed #27800 -- Fixed QuerySet.annotate(Length(...)).distinct() crash.
Backport of ac5f886c56 from master
2017-01-31 18:46:07 -05:00
Daniel Wiesmann 8afe790df9 [1.11.x] Refs #27421 -- Documented GDALRaster creation in detail.
Backport of ed3215ad53 from master
2017-01-31 11:34:15 -05:00
Jon Dufresne 52e9c1c8b7 [1.11.x] Fixed #27758 -- Reallowed AdvancedModelIterator pattern after template widget rendering.
Backport of 6d8979f4c2 from master
2017-01-31 09:43:31 -05:00
Tim Graham e2b19e70c7 [1.11.x] Fixed typo in django/db/migrations/operations/special.py. 2017-01-31 08:05:15 -05:00