Commit Graph

14317 Commits

Author SHA1 Message Date
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
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
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
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 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
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
amalia b54fff2938 [1.11.x] Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash.
Backport of 2f10216f84 from master
2017-02-13 16:43:23 -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
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
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
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
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
Shai Berger 437e0ba533 [1.11.x] Fixed #25192 -- Fixed squashmigrations crash with RunPython.noop on Python 2.
Thanks Adam Johnson for review.
2017-01-31 08:02:18 -05:00
Srinivas Reddy Thatiparthy f706576adf [1.11.x] Removed obsolete sentence in ManagementUtility docstring.
Backport of a6755b29e9 from master
2017-01-28 08:10:07 -05:00
Mariusz Felisiak 092f09fcc1 [1.11.x] Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters.
Regression in f0ef0c49e9.

Backport of c37ec5a659 from master
2017-01-26 18:36:54 -05:00
Tim Graham 9194df2f55 [1.11.x] Corrected http.multipartparser.exhaust() docstring.
MultiPartParserError was removed in
ebf34c3cdc.

Backport of 90db4bb0d7 from master
2017-01-25 13:40:17 -05:00
Tim Graham ec0af19f4c [1.11.x] Bumped MySQLdb version requirement to 1.2.3.
Older versions don't support Python 2.7.

Partial backport of 2d96c027f5 from master
2017-01-25 10:31:24 -05:00
Mads Jensen c94cb4f865 [1.11.x] Removed unused variables that are overwritten.
Backport of ebf34c3cdc from master
2017-01-25 09:15:36 -05:00
Nick Mavrakis fb55247d59 [1.11.x] Fixed #27743 -- Prevented admin's "+" button icon from overlapping its label.
Backport of e5c2e43cc8 from master
2017-01-23 19:25:02 -05:00
Jon Dufresne 783afda70a [1.11.x] Replaced dict() usage with dict literals.
Literals are faster and more idiomatic.

Backport of 0d74c41981 from master
2017-01-23 19:14:43 -05:00
Jon Dufresne 706b30fc37 [1.11.x] Replaced "not var is ..." with "is not" in attrs.html.
Backport of f0573aad4b from master
2017-01-23 13:14:41 -05:00
Jon Dufresne 9e9d0f8ef7 [1.11.x] Fixed #27759 -- Prevented forms attrs.html template from rendering False attrs.
Regression in b52c73008a.

Backport of 5fa390ee81 from master
2017-01-23 09:28:25 -05:00
Jon Dufresne 6969100595 [1.11.x] Fixed #27761 -- Fixed quote location in multiple_input.html forms templates.
Backport of 88183117c2 from master
2017-01-23 07:45:22 -05:00
Jon Dufresne e4dab20a27 [1.11.x] Removed ChoiceWidget.render() as it duplicates parent implementation.
Backport of ecd5944666 from master
2017-01-23 07:33:42 -05:00
Tim Graham c96d1c7476 [1.11.x] Fixed django/utils/http.py comment typo.
Backport of d29fd3f9a6 from master
2017-01-19 13:22:36 -05:00
Claude Paroz 518693bef5 [1.11.x] Updated translation catalogs 2017-01-19 17:07:17 +01:00
james mike dupont b7621bbe80 [1.11.x] Fixed spelling mistakes in code and comments.
Backport of 7d20094996 from master
2017-01-19 08:20:15 -05:00
Tim Graham 246bece37a [1.11.x] Bumped version to 1.11a1. 2017-01-17 19:31:46 -05:00
Tim Graham f01ad1cb6a Refs #27683 -- Allowed setting isolation level in DATABASES ['OPTIONS'] on MySQL. 2017-01-17 11:16:15 -05:00
Markus Holtermann 46e0335583 Refs #27666 -- Added ProjectState.reload_models(). 2017-01-17 08:12:53 -05:00
Markus Holtermann 45ded053b1 Fixed #27666 -- Delayed rendering of recursivly related models in migration operations. 2017-01-17 08:12:52 -05:00
Mariusz Felisiak 7d2db2a7b8 Refs #27690 -- Removed sleep before drop test db on Oracle. 2017-01-16 19:20:28 -05:00
Mads Jensen 65e321b781 Refs #25809 -- Made a few late review comments for BrinIndex. 2017-01-16 13:23:20 -05:00
Tim Graham b5511dddd6 Moved unneeded ImproperlyConfigured inner imports. 2017-01-16 12:48:41 -05:00
Josh Smeaton 1df89a60c5 Fixed #25307 -- Fixed QuerySet.annotate() crash with conditional expressions.
Thanks Travis Newport for the tests and Josh Smeaton for contributing
to the patch.
2017-01-16 10:03:15 -05:00
Mads Jensen 0bc59978ab Fixed #27736 -- Used decorators for lookup registration. 2017-01-16 09:22:26 -05:00
François Freitag 05bdf4f44d Refs #16614 -- Called _prepare_cursor() on every created cursor. 2017-01-16 09:12:23 -05:00
Dmitry Dygalo 1f10c3994c Removed unneeded variable in contrib/postgres/fields/jsonb.py. 2017-01-16 06:24:16 -05:00