Chris Lamb
fa63fc91cc
[1.11.x] Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable.
...
Backport of 2ec56bb78237ebf58494d7a7f3262482399f0be6 from master
2017-06-02 10:29:39 -04:00
Jon Dufresne
1940e3daef
[1.11.x] Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs.
...
Backport of 29a518006f7f96186483fa50e249e1c3f21728d5 from master
2017-06-02 09:52:53 -04:00
Tim Graham
3cd9a4b1ea
[1.11.x] Sorted imports per isort 4.2.9.
...
Backport of cde31daf8815e05b4b86b857b49fb0e31e1f0a38 from master
2017-06-01 13:30:08 -04:00
Manatsawin Hanmongkolchai
110bd82038
[1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the form field.
...
Backport of a0c07d77fc313388c72a17cd59411265069f037f from master
2017-06-01 10:44:47 -04:00
Tim Graham
af9a81aa7f
[1.11.x] Fixed a forms test after updated translations.
...
Backport of 84fb50df670c8126983c9f0fd4a5c30dbe57b684 from master
2017-05-31 19:33:26 -04:00
Derrick Jackson
7250393f31
[1.11.x] Fixed #28170 -- Fixed file_move_safe() crash when moving files to a CIFS mount.
...
Backport of 789c290150a0a5e7312e152df281dbcaf4ec174e from master
2017-05-31 15:02:32 -04:00
Robert Rollins
877d7b71ae
[1.11.x] Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses.
2017-05-30 18:06:58 -04:00
Tim Graham
48274c1589
[1.11.x] Fixed AppRegistryNotReady error when running gis_tests in isolation on PostGIS.
...
Regression in 890537253cf235091816d27a5c2fb64943c8e34a.
Backport of 4a251f8bce2e65a445fb2c46c2f71f763311c0ac from master
2017-05-30 15:14:55 -04:00
Adit Biswas
4e675999d5
[1.11.x] Fixed #28209 -- Made date-based generic views return a 404 rather than crash when given an out of range date.
...
Backport of c2eea61dff44b16caab04928d582b856c2b8b615 from master
2017-05-30 13:32:20 -04:00
Mariusz Felisiak
5688562f66
[1.11.x] Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
...
The latitude coordinates exceed -90, 90 bounds and caused a test failure
on Oracle 12.2.
Thanks Michał Wierzbowski for help preparing the patch.
Backport of 037d6540ecb7a60dca99162f6adedb2d879fa3ff from master
2017-05-30 08:23:05 -04:00
Tim Graham
9b9a81024a
[1.11.x] Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST.
...
Thanks Simon Charette for the fix.
Backport of f04495521ade8a2befc1aca70dd0a2c7aad4c987 from master
2017-05-30 06:41:50 -04:00
Tim Graham
c341803315
[1.11.x] Fixed #28204 -- Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if InvalidPage message contains non-ASCII.
2017-05-29 09:51:16 -04:00
Alex
b9abdd92ab
[1.11.x] Fixed #28222 -- Allowed settable properties in QuerySet.update_or_create()/get_or_create() defaults.
...
Backport of 37ab3c3f9d707d6a1896db79c631e920dcb1fb78 from master
2017-05-27 13:01:38 -04:00
vinay karanam
d1d08d86ba
[1.11.x] Fixed #28230 -- Allowed DjangoJsonEncoder to serialize CallableBool.
2017-05-22 21:58:38 -04:00
Daniel Hahler
a810f4aa04
[1.11.x] Refs #28207 -- Fixed contrib.auth.authenticate() if 'backend' is in the credentials.
...
Regression in 3008f30f194af386c354416be4c483f0f6b15f33.
Backport of a3ba2662cdaa36183fdfb8a26dfa157e26fca76a from master
2017-05-22 13:00:44 -04:00
Tim Graham
f2b8fa1763
[1.11.x] Fixed #28210 -- Fixed Model._state.adding on MTI parent model after saving child model.
...
Regression in 38575b007a722d6af510ea46d46393a4cda9ca29.
Backport of 59ab1b2683b6c090dc409d9eb8303aadbd590c04 from master
2017-05-19 21:09:42 -04:00
Tim Schneider
566726ff96
[1.11.x] Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.
...
Backport of 3a5299c19cd5a38f7fa0f45ed2df7b10f0c9cf5d from master
2017-05-15 08:59:02 -04:00
Tamas Szabo
d945b7e42a
[1.11.x] Fixed #28207 -- Fixed contrib.auth.authenticate() if multiple auth backends don't accept a request.
...
Backport of 3008f30f194af386c354416be4c483f0f6b15f33 from master
2017-05-15 08:15:18 -04:00
Tim Graham
74b0837bef
[1.11.x] Fixed #28188 -- Fixed crash when pickling model fields.
...
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.
Thanks Adam Alton for the report and test, and Adam Johnson for
suggesting the fix.
Backport of a9874d48b1b9d91988b9f299726ec4f559fb2f75 from master
2017-05-11 21:05:05 -04:00
Florian Apolloner
cf81add997
[1.11.x] Fixed db backend discovery in admin_scripts tests.
...
Not all backends have dots in them.
Backport of 60f51290766dae16abfb60459940de51fa5c5b2f from master
2017-05-10 09:52:26 -04:00
UmanShahzad
03d0c05fdf
[1.11.x] Fixed #28142 -- Fixed is_safe_url() crash on invalid IPv6 URLs.
...
Backport of 856072dd4a3e479aa09b0ab6b498ff599ca2a809 from master
2017-05-10 09:43:12 -04:00
Tim Graham
4841fafb44
[1.11.x] Refs #28160 -- Skipped a GeoManager test if not using a GIS database backend.
...
The test errors if GDAL isn't installed.
2017-05-09 10:04:58 -04:00
Markus Holtermann
38e1169067
[1.11.x] Refs #22397 -- Removed model in test cleanup
...
The test was failing when using --keepdb due to a pre-existing
PonyStables model.
Thanks Florian Apolloner for the report
Backport of 8e352876c337332b45a72da8bbccad2830c7b1e0 from master.
2017-05-09 13:11:05 +02:00
François Freitag
6a2624286b
[1.11.x] Fixed #28062 -- Added a setting to disable server-side cursors on PostgreSQL.
...
When a connection pooler is set up in transaction pooling mode, queries
relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS
setting in DATABASES disables server-side cursors for this use case.
Backport of 88336fdbb5e101fa25825b737169c0d6af2faa93 from master
2017-05-06 07:45:46 -04:00
Tim Graham
f9a4593376
[1.11.x] Fixed #28175 -- Fixed __in lookups on a foreign key when using the foreign key's parent model as the lookup value.
...
Thanks Simon Charette for review.
Backport of d66378a8b2d48d41b56ba3622189493e4edf9e5a from master
2017-05-05 18:36:09 -04:00
Tim Graham
68ebc240a4
[1.11.x] Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
...
Backport of 2dc3280254ae06ca1fe664abf55749fe12a699d4 from master
2017-05-04 21:14:23 -04:00
Tim Graham
444cdf6131
[1.11.x] Made runtests.py run gis_tests only when using a GIS database backend.
...
This facilitates other changes like refs #28160 .
Backport of 890537253cf235091816d27a5c2fb64943c8e34a from master
2017-05-04 20:54:25 -04:00
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