Commit Graph

23885 Commits

Author SHA1 Message Date
Josh Schneier 0cc9175c76 [1.11.x] Fixed #27897 -- Fixed crash with 'pk' in ModelAdmin.search_filters.
Backport of 6bc4ff36db from master
2017-03-15 13:45:36 -04:00
Tim Graham a95616944b [1.11.x] Refs #27563 -- Fixed ModelChoiceField.__deepcopy__() so forms don't share a queryset cache.
Thanks Luke Benstead for the report Simon Charettes for the fix.

Backport of 44f9241c48 from master
2017-03-15 12:55:05 -04:00
Pavel Kulikov 3c1ed1d336 [1.11.x] Fixed #27918 -- Documented ChoiceWidget.option_template_name
Backport of 0d83052e52 from master
2017-03-15 10:09:26 -04:00
Mariusz Felisiak 1ed4dab20f [1.11.x] Fixed #27822 -- Replaced deprecated cx_Oracle types in DatabaseIntrospection.data_types_reverse.
Backport of 1b96dbdad0 from master
2017-03-15 09:05:53 -04:00
lb1c 70e6064d6b [1.11.x] Fixed incorrect import in docs/ref/models/expressions.txt.
Backport of 36f2262741 from master
2017-03-15 08:10:09 -04:00
Tobias McNulty 4188b20e3a [1.11.x] Replaced docs/internals/team.txt with DSF teams page.
Backport of 3f64fd2f75 from master
2017-03-14 16:37:04 -04:00
Claude Paroz 70c5b8db42 [1.11.x] Refs #27920 -- Added missing encoding preamble on widget test file 2017-03-14 20:18:51 +01:00
Claude Paroz d8e90040e9 [1.11.x] Fixed #27920 -- Restored empty RadioSelect choice producing value=""
Regression in b52c73008a.
Thanks Tim Graham for the review.
Backport of 540ae68a5c from master.
2017-03-14 18:27:19 +01:00
Mads Jensen c654ead898
[1.11.x] Used constant instead of hard-coded value for max index name length
Refs #26709

Backport of e7033e00f8 from master
2017-03-14 15:55:07 +01:00
Florian Apolloner 293ff4d2b4 Typo fix.
Backport of bf0dff4bed from master.
2017-03-13 22:03:34 +01:00
Mariusz Felisiak 9924c8a8b0 [1.11.x] Fixed #27924 -- Added support for cx_Oracle 5.3.
- Fixed Oracle backend due to cx_Oracle 5.3 change in the
Cursor.description behavior i.e. "Use None instead of 0 for items in
the Cursor.description attribute that do not have any validity.".
- Used cx_Oracle.Object.size() instead of len().
Thanks Tim Graham for the review.

Backport of 75503a823f from master
2017-03-10 23:07:50 +01:00
Tim Graham e9e58ec65e [1.11.x] Described DEBUG_PROPAGATE_EXCEPTIONS behavior in more detail.
Backport of c577d8a498 from master
2017-03-09 14:04:29 -05:00
Tim Graham e9ba8563c1 [1.11.x] Reverted "Refs #16682 -- Tested transaction.atomic() with KeyboardInterrupt."
This reverts commit d895fc9ac0 since the
test is problematic as described in the ticket.

Backport of dfbdba924f from master
2017-03-09 10:09:00 -05:00
Sergey Kholodilov 993406770a [1.11.x] Fixed Python 2/Windows libgdal crash if PATH contains non-ASCII symbols. 2017-03-09 09:12:08 -05:00
David D Lowe c7351eaa92 [1.11.x] Fixed #27911 -- Doc'd how to register custom User with admin.
Backport of 9269dec05e from master
2017-03-08 12:15:22 -05:00
Camilo Nova 33d2c53fb1 [1.11.x] Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend.
Backport of 5db465d5a6 from master
2017-03-07 19:54:23 -05:00
Tim Graham 36d640cd1f [1.11.x] Factored out uid/user tokens in auth_tests urlpatterns.
Backport of 72ff9d53e6 from master
2017-03-07 19:53:08 -05:00
Raphael Merx 89b31b312e [1.11.x] Fixed #27905 – Added RelatedFieldWidgetWrapper.value_omitted_from_data().
Backport of fd75c8f2b7 from master
2017-03-07 13:56:45 -05:00
Tim Graham 679560b7d8 [1.11.x] Added stub release notes for 1.10.7.
Backport of 6c5348b9d2 from master
2017-03-07 13:05:56 -05:00
Claude Paroz ca58a405fc [1.11.x] Refs #27622 -- Fixed a regression in JSON content-type detection
A JSON Content-Type can contain further content, like charset for example.
Backport of 145f6c3ed6 from master.
2017-03-07 17:00:20 +01:00
Claude Paroz 77c3cbe08a [1.11.x] Renamed a test variable to prevent possible conflict with imports
Backport of 324c4b6371 from master.
2017-03-07 16:33:16 +01:00
Tim Graham 4852276aba [1.11.x] Fixed #26817 -- Doc'd downsides and alternatives to Jinja2 context processors.
Thanks Aymeric Augustin and Carl Meyer.

Backport of dacdcec767 from master
2017-03-06 13:35:10 -05:00
Tim Graham 6392bf26ca [1.11.x] Fixed #27900 -- Made escapejs escape backticks for use in ES6 template literals.
Backport of 6ae1b04fb5 from master
2017-03-04 09:04:40 -05:00
Tim Graham 1f20326db0 [1.11.x] Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside non-namespaced URLs.
Backport of b23d264046 from master
2017-03-03 10:52:48 -05:00
David Szotten 93c8e2d50d [1.11.x] Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.
Backport of d82ee32aac from master
2017-03-02 10:58:47 -05:00
albertoconnor f834c278b5 [1.11.x] Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 2863e79a5c from master
2017-03-01 15:42:17 -05:00
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