Simon Charette
246166cfe4
[1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
...
Thanks Tim for the review.
Backport of b91868507a
from master.
2017-05-04 00:23:49 -04:00
Tim Graham
f3217ab596
[1.11.x] Fixed #28166 -- Fixed Model._state.db on MTI parent model after saving child model.
...
Regression in 38575b007a
.
Backport of 584e10c76e
from master
2017-05-03 12:31:18 -04:00
Alexander Kavanaugh
008ba77dfd
[1.11.x] Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash when using save_as_new.
...
Regression in 4a246a02bd
.
Backport of 362fba87c9
from master
2017-05-03 08:59:41 -04:00
Tim Graham
0615601498
[1.11.x] Fixed #28157 -- Fixed choice ordering in form fields with grouped and non-grouped options.
...
Regression in b52c73008a
.
Backport of d302e2c09c
from master
2017-05-03 07:22:00 -04:00
Tim Graham
369321819c
[1.11.x] Fixed typo in django/db/backends/base/schema.py comment.
...
Backport of 05098fa449
from master
2017-05-01 20:46:07 -04:00
Markus Holtermann
6afede8219
[1.11.x] Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.
...
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
Backport of 663e48947f
from master
2017-05-01 12:22:29 -04:00
Ian Foote
211d2bf3f2
[1.11.x] Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.
...
Backport of 63afe3a2bf
from master
2017-05-01 10:08:50 -04:00
Dylan Verheul
b1aea89dee
[1.11.x] Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs.
...
Backport of 75aeebebfe
from master
2017-04-30 21:13:50 -04:00
Tim Graham
a2975cb083
[1.11.x] Fixed #28040 -- Updated SplitArrayWidget to use template-based widget rendering.
...
Thanks Preston Timmons for review.
Backport of 1ebd295082
from master
2017-04-29 22:24:29 -04:00
Mariusz Felisiak
d52577b62b
[1.11.x] Fixed #28138 -- Used output type handler instead of numbersAsStrings on Oracle cursor.
...
Thanks Tim Graham for the review.
Backport of 946775227c
from master
2017-04-28 16:53:39 +02:00
Tim Graham
e93135b067
[1.11.x] Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.
...
Regression in f5c6295797
.
Backport of f04a404917
from master
2017-04-28 09:32:52 -04:00
Tim Graham
4a89000ccf
[1.11.x] Fixed #28122 -- Fixed crash when overriding views.static.directory_index()'s template.
...
Backport of 56970c5b61
from master
2017-04-25 11:01:34 -04:00
Michiel Beijen
7eecf496ee
[1.11.x] Renamed "Mac OS X" to "macOS" in docs.
...
Backport of 5e8625ba64
from master
2017-04-24 20:51:55 -04:00
Simon Charette
0ad1693494
[1.11.x] Fixed #28101 -- Fixed a regression with nested __in subquery lookups and to_field.
...
Thanks Kristian Klette for the report and Tim for the help.
Backport of 8ef35468b6
from master
2017-04-23 01:16:04 -04:00
Simon Charette
395df007f4
[1.11.x] Fixed #28109 -- Corrected the stack level of unordered queryset pagination warnings.
...
Refs #26290 .
Thanks Tim for the review.
Backport of c0f12a098c
from master
2017-04-22 14:10:49 -04:00
Jon Dufresne
1442e29983
[1.11.x] Fixed #28075 -- Prevented ChoiceWidget from localizing option values.
...
Backport of 581879a510
from master
2017-04-21 12:29:20 -04:00
François Freitag
56746fb21f
[1.11.x] Fixed #28091 -- Re-raised original exception when closing cursor cleanup fails
2017-04-20 17:43:39 +02:00
Tim Graham
5e2bbcd70c
[1.11.x] Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets().
...
Backport of d2cb7a2bc1
from master
2017-04-20 11:40:20 -04:00
Tim Graham
2f358d32ec
[1.11.x] Fixed #28059 -- Restored class attribute in <ul> of widgets that use multiple_input.html.
...
Regression in b52c73008a
Backport of af1f986360
from master
2017-04-20 11:07:54 -04:00
Claude Paroz
e6bfd3d751
[1.11.x] Refs #28100 -- Fixed URL in el, es_MX, and pt auth translations
2017-04-19 20:14:39 +02:00
Claude Paroz
61e883c7c2
[1.11.x] Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses
...
Regression in 7ec330eeb9
.
Thanks Tim Graham for the review.
Backport of 43b4a1618e
from master.
2017-04-19 19:37:13 +02:00
Tim Graham
cf1e682c8c
[1.11.x] Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
...
Backport of dff559ff83
from master
2017-04-19 12:59:53 -04:00
Huang Zhiqiang
fd983bcb50
[1.11.x] Fix a typo in django/db/transaction.py
...
Backport of cd7afcdcac
from master
2017-04-19 12:59:46 -04:00
InvalidInterrupt
5d556d2aaf
[1.11.x] Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data.
...
Backport of dda596ca32
from master
2017-04-17 22:27:59 -04:00
Tim Graham
844ae40a7c
[1.11.x] Fixed #28058 -- Restored empty BoundFields evaluating to True.
...
Regression in b52c73008a
Backport of c09bf8d767
from master
2017-04-17 08:56:15 -04:00
Tim Graham
91bbe7b1c1
[1.11.x] Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page.
...
Regression in 7b6dccc82f
Backport of 8c6a3062dd
from master
2017-04-15 09:21:54 -04:00
Tim Graham
8a13cddc26
[1.11.x] Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk.
...
Regression in 1bc249c2a6
.
Backport of fce7827101
from master
2017-04-10 11:52:10 -04:00
kalombo
734e6bb2b8
[1.11.x] Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachments arg.
...
Backport of dd00184892
from master
2017-04-07 18:24:09 -04:00
Simon Charette
5d35e8eb06
[1.11.x] Fixed #28038 -- Restored casting to text of builtin lookups on PostgreSQL.
...
Reverted 658f1e8
which broke code using __icontains's implicit cast to ::text
on ArrayField.
Thanks Peter J. Farrell for the report.
Backport of a354c69055
from master
2017-04-07 16:51:07 -04:00
Markus Holtermann
f9d2a20d7b
[1.11.x] Fixed #28051 -- Made migrations respect Index's name argument.
...
Thanks Marc Tamlyn for the report and Tim Graham for the review.
Backport of d3cf75ec6f
from master
2017-04-07 11:48:25 -04:00
Tim Graham
0d06cc38f8
[1.11.x] Corrected post-release version bump.
2017-04-04 12:20:37 -04:00
Tim Graham
1b1cbe3824
[1.11.x] Post-release version bump.
2017-04-04 12:14:37 -04:00
Tim Graham
58f02c498b
[1.11.x] Bumped version for 1.11 release.
2017-04-04 11:55:10 -04:00
Tim Graham
97e77b7bc1
[1.11.x] Fixed #27912 , CVE-2017-7233 -- Fixed is_safe_url() with numeric URLs.
...
This is a security fix.
2017-04-04 10:46:50 -04:00
Tim Graham
001ff50808
[1.11.x] Fixed CVE-2017-7234 -- Fixed open redirect vulnerability in views.static.serve().
...
This is a security fix.
2017-04-04 10:46:50 -04:00
Claude Paroz
290b2849f7
[1.11.x] Updated contrib translations from Transifex
2017-04-04 12:36:49 +02:00
Claude Paroz
96ec72e298
[1.11.x] Updated core translations from Transifex
2017-04-04 11:18:06 +02:00
kapil garg
76b51656e6
[1.11.x] Fixed #27974 -- Kept resolved templates constant during one rendering cycle.
...
Thanks Florian Apolloner for the initial patch.
Backport of 002fe07622
from master
2017-04-03 22:32:41 -04:00
Claude Paroz
523a8032c8
[1.11.x] Refs #27866 -- Adapted backport for Python 2 compatibility
2017-04-01 12:29:34 +02:00
Claude Paroz
06d32f689e
[1.11.x] Fixed #27866 -- Made ChoiceWidget.format_value() return a list
...
Thanks Tim Graham for the review.
Backport of e487ffd3f0
from master.
2017-04-01 12:26:49 +02:00
heathervm
ff0c6b83e5
[1.11.x] Fixed #27993 -- Fixed model form default fallback for SelectMultiple.
...
Backport of 7d1e237753
from master
2017-03-31 10:10:30 -04:00
Sergey Fedoseev
8484cf4cd0
[1.11.x] Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least and Greatest.
...
Backport of 068d75688f
from master
2017-03-30 08:47:16 -04:00
Tim Graham
d476fa96ac
[1.11.x] Refs #18974 -- Added stacklevel for permalink() deprecation.
...
Backport of b59c0d722d
from master
2017-03-28 18:01:21 -04:00
Tim Graham
8cc2f5aed1
[1.11.x] Fixed #27956 -- Fixed display of errors in an {% extends %} child.
...
Thanks Ling-Xiao Yang for the report and test, and
Preston Timmons for the fix.
Backport of e643ba8bcf
from master
2017-03-25 08:22:31 -04:00
Sergey Fedoseev
b6a6787fd8
[1.11.x] Fixed #27603 -- Fixed AsKML when queryset is evaluated more than once.
...
Backport of e9149d3eb0
from master
2017-03-23 19:31:23 -04:00
Kapil Garg
a8c540accc
[1.11.x] Fixed #27969 -- Fixed models.Field.formfield() setting 'disabled' for fields with choices.
...
Backport of 7e09fa7f51
from master
2017-03-23 13:56:45 -04:00
James Beith
6963564ecc
[1.11.x] Fixed #27975 -- Fixed crash if ModelChoiceField's queryset=None.
...
Regression in 9153d8fbd6385db9f48793662de789fc3d686841.
Backport of 216bb2e8fb
from master
2017-03-22 08:57:02 -04:00
Tim Graham
da72d0730e
[1.11.x] Bumped version for 1.11 release candidate 1.
2017-03-21 18:42:50 -04:00
seanfagan
b406c3ea28
[1.11.x] Fixed #27945 -- Clarified that RegexValidator searches with the regex.
...
Backport of 325db2a8c3
from master
2017-03-21 12:49:46 -04:00
Mariusz Felisiak
b06855facd
[1.11.x] Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
...
Thanks Tim Graham for the review.
Backport of 43380e9110
from master
2017-03-21 17:40:04 +01:00
Sergey Fedoseev
a937785e2a
[1.11.x] Fixed #27960 -- Set errcheck=False for GDALAllRegister to prevent crash.
...
GDALAllRegister returns void so errcheck is not needed.
Backport of 7063a85579
from master
2017-03-21 11:45:41 -04:00
Tim Graham
e5880516f9
[1.11.x] Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.
...
Thanks Markus Holtermann for review.
Backport of 3d19d1428a
from master
2017-03-21 11:32:43 -04:00
Tim Graham
2bd152b46f
[1.11.x] Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.
...
Backport of 075e93c16a
and
93d0770104
from master
2017-03-21 10:38:15 -04:00
Tim Graham
524f1e7051
[1.11.x] Refs #27919 -- Passed ChoiceWidget.create_option() kwargs as expected.
...
Backport of 6ff356e891
from master
2017-03-21 09:54:37 -04:00
Mariusz Felisiak
40b843488a
[1.11.x] Refs #27935 -- Fixed BrinIndex.max_name_length if a project's default database isn't PostgreSQL.
...
Thanks Florian Apolloner for the report.
Backport of 2867b7eb4b
from master
2017-03-20 11:21:56 -04:00
Mads Jensen
0b93a992e5
[1.11.x] Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.
...
Backport of 82bb4e684f
from master
2017-03-18 08:48:17 -04:00
Tim Graham
c548dba428
[1.11.x] Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3.
...
Regression in 2ebfda38e6
(refs #25004 ).
Backport of 93eca976c1
from master
2017-03-17 12:59:10 -04:00
Tim Graham
4b57fa3746
[1.11.x] Updated postgis.net and gaia-gis.it links to https.
...
Backport of 5bd7ffc313
from master
2017-03-16 14:03:52 -04:00
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
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
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
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
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
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
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
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
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
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
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
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