François Freitag
c679ac0449
[1.11.x] Fixed #27554 -- Fixed prefetch_related() crash when fetching relations in nested Prefetches.
...
Backport of c0a2b9508aa2c6eaa22e9787010276edca887f0b from master
2017-05-04 09:55:35 -04:00
Simon Charette
246166cfe4
[1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
...
Thanks Tim for the review.
Backport of b91868507af08234a30e9a8e7c90b37c561ba315 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 38575b007a722d6af510ea46d46393a4cda9ca29.
Backport of 584e10c76edcd3a33765a52c5cde0096a3ce7dbc 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 4a246a02bdcbc13b15480c014f51cb0682af7c1e.
Backport of 362fba87c9bb4f88542ba82ce4a732fed2634be7 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 b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
Backport of d302e2c09c281e6b1e187f704f656e5e79e69246 from master
2017-05-03 07:22:00 -04:00
Tim Graham
4c12b10263
[1.11.x] Refs #28052 -- Cleaned up some indexes in schema tests.
...
Backport of d0e43f225f59145903c72c650eeef1f80e12f9ed from master
2017-05-01 22:22:58 -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 663e48947ff8ef3e6a6275bda2d1ee1b0de13be3 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 63afe3a2bfaf97fecff6641137a85296029d5b73 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 75aeebebfe3df3ea46b8e12dd5e7719f98664d3a 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 1ebd295082bb0e6b230cf3bc39fd04bee71c2bd7 from master
2017-04-29 22:24:29 -04:00
Tim Graham
e93135b067
[1.11.x] Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.
...
Regression in f5c6295797b8332134fd89e0209a18a1d1d45e0c.
Backport of f04a40491764bdc9a2ebbfc03fa7be424fb3ce63 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 56970c5b61f8f1612944dc54b72ef210d433066f 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 5e8625ba643db118a44cb32e9e48bf431ef4da53 from master
2017-04-24 20:51:55 -04:00
Tim Graham
6cbfaba178
[1.11.x] Removed obsolete Widget.format_output() in tests.
...
Obsolete since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
Backport of 851874fe0a5dd8f99c763134df0bbaca6f03d17a from master
2017-04-24 13:42:00 -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 8ef35468b660e1c25af67a8299202b8bc108679f 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 c0f12a098c0258eef3e9af982c17f5ef7f6c927d 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 581879a510e58841e5780a5d1fdb4995733d2036 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 d2cb7a2bc11f111be04a29b5e4f92a183b18ba88 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 b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
Backport of af1f986360dc6bb6e75e960dbc191707541128ac from master
2017-04-20 11:07:54 -04:00
Claude Paroz
61e883c7c2
[1.11.x] Fixed #28096 -- Allowed prefetch calls with ModelIterable subclasses
...
Regression in 7ec330eeb96d0874949eacb8ed1bbb97e11807e1.
Thanks Tim Graham for the review.
Backport of 43b4a1618ed85151494d68778a1bb6304ce1cb79 from master.
2017-04-19 19:37:13 +02:00
Tim Graham
cf1e682c8c
[1.11.x] Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
...
Backport of dff559ff83a6aac14de0bbca58101786edf4195f from master
2017-04-19 12:59:53 -04:00
Tim Graham
d6524088a8
[1.11.x] Refs #28066 -- Fixed Python 2 failures in sessions_tests.
2017-04-19 07:45:47 -04:00
Mariusz Felisiak
3173d9a850
[1.11.x] Refs #28066 -- Fixed nondeterministic ordering test failure in sessions_tests.
...
Thanks Tim Graham for the review.
Backport of 81f844940279140d27578fc6a5b134763ffcceb6 from master
2017-04-18 18:01:52 +02:00
InvalidInterrupt
5d556d2aaf
[1.11.x] Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data.
...
Backport of dda596ca3296f5b2574cf4876a4e176594f52834 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 b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
Backport of c09bf8d76770d39a4d9545b67598cd05adee281b 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 7b6dccc82fa5b03cf431742c0655e5ac954e228e
Backport of 8c6a3062dda7b51c3f545e625f529ce5c183040d 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 1bc249c2a67c24fcd28436c85388eff1d826e305.
Backport of fce782710160420d5c963bb33a6646542d91f40c 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 dd001848920713fe616c03db6946762e8aa7c4e3 from master
2017-04-07 18:24:09 -04:00
kalombo
a95eba7d98
[1.11.x] Tested EmailMessage(attachments=[MIMEText])
...
Backport of aedfe0ddd76fc37c83341c35c79ab63330ffded8 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 a354c69055fd818e612ce22eaa2da0576a4b89ee 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 d3cf75ec6fbdd2c1f1bb1e6ccb48d4de1da2952b from master
2017-04-07 11:48:25 -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
427f09ce5e
[1.11.x] Updated tests after French translation update
...
Backport of 389c3ffc04eaa6186ae0bad523995e8fcf7620df from master.
2017-04-04 13:09:15 +02:00
Tim Graham
7f5be2dc84
[1.11.x] Fixed flake8 warning on Python 2.
2017-04-03 22:33:46 -04: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 002fe076225c2aa6e389481b038f55acb6f807d0 from master
2017-04-03 22:32:41 -04:00
Tim Graham
e34cce79ff
[1.11.x] Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6.
...
Backport of d4d79d0f200357b28419203557cc61c8168316ab from master
2017-04-02 20:03:36 -04:00
Claude Paroz
06d32f689e
[1.11.x] Fixed #27866 -- Made ChoiceWidget.format_value() return a list
...
Thanks Tim Graham for the review.
Backport of e487ffd3f0f9931e7c18bfbd47cf1e6b059ddc41 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 7d1e23775344cc3dead03bd4af45f4fdf134b819 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 068d75688f28f9a1530b771ae1d625f41e98cd82 from master
2017-03-30 08:47:16 -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 e643ba8bcf0b1da517cbab689ac157ee031202a3 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 e9149d3eb0ed0ddc8b27b1990eb2b7293c1231cd 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 7e09fa7f519daf2f9c26587c3da5dc044d84b032 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 216bb2e8fbc3cb37615bbd70edaa73287acdca81 from master
2017-03-22 08:57:02 -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 43380e911073beab401a2fdeca0f25001e170dac from master
2017-03-21 17:40:04 +01: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 3d19d1428a05b514afb771b52870d1f7c25670d1 from master
2017-03-21 11:32:43 -04:00
Sergey Fedoseev
4f02adbf53
[1.11.x] Fixed #27965 -- Fixed precision comparison in a geoforms test (refs #27939 ).
...
Backport of 816c5753ac554b2af710aebc98ad60fd5823e03f from master
2017-03-21 09:05:00 -04:00
Tim Graham
e0ddfa3af3
[1.11.x] Fixed #27890 -- Fixed FileNotFoundError cleanup exception in runtests.py on Python 3.6+.
...
Backport of 0c6c859d4edf6e462d000da21b4fa5009cb2696f from master
2017-03-20 12:02:09 -04:00
Mads Jensen
0b93a992e5
[1.11.x] Fixed #27935 -- Fixed crash with BrinIndex name > 30 characters.
...
Backport of 82bb4e684f9d0e5939cb0596c249954df0888e2d from master
2017-03-18 08:48:17 -04:00