1
0
mirror of https://github.com/django/django.git synced 2025-04-02 12:36:41 +00:00

9868 Commits

Author SHA1 Message Date
François Freitag
8245255ae5 [1.11.x] Clarified QuerySet.iterator()'s docs on server-side cursors.
Backport of bf50ae821021c4f7cd608d2bd1f2dfff98f3ceb9 from master
2017-06-01 15:38:56 -04:00
Tim Graham
2134090e79 [1.11.x] Added stub release notes for 1.11.3.
Backport of 4ef093b0b485ff425590ffb49bee62c21e5264e9 from master
2017-06-01 12:55:12 -04:00
Tim Graham
78975c453b [1.11.x] Added release date for 1.11.2.
Backport of 162778b8e2fecfe6171eba09a7f0606b61ad3403 from master
2017-06-01 11:11:48 -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
Claude Paroz
02158a785e [1.11.x] Updated translations from Transifex 2017-05-31 21:42:51 +02: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
René Fleschenberg
ceb6a64f2f [1.11.x] Refs #26294 -- Fixed typo in docs/ref/django-admin.txt.
Backport of a30482a4b6e5d13e7325238fdc902fbca7e714f4 from master
2017-05-30 17:16:10 -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
Tim Graham
4112bce442 [1.11.x] Refs #28181 -- Corrected detection of GDAL 2.1 on Windows.
Follow up to a404f75f92971634c76330f3742261d33ccecca1.

Backport of c32476e5ba2f1c18758cfcffc857fa4eab37e816 from master
2017-05-30 09:42:16 -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
3e17b0222c [1.11.x] Removed incorrect "required" attribute in docs/ref/forms/fields.txt.
Backport of 17ed0d36bc3c380b7d8a0a30ceda09d98ab74fd4 from master
2017-05-29 18:01:28 -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
Jon Dufresne
2c03e14586 [1.11.x] Corrected REPL example in forms docs for Python 3.
Backport of c3e638112d2a96c8d678524903f37b13c6692188 from master
2017-05-27 19:28:58 -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
Eric Theise
f804b46294 [1.11.x] Added some shell output in tutorial 2.
Backport of 1b5b3710f16450eca49fb11b41a242816857a454 from master
2017-05-25 13:44:06 -04:00
Tim Graham
61f61a2b0c [1.11.x] Fixed #28239 -- Removed docs for a removed arg of template.Context.
Backport of 0ea321193a1d7f857544760e12058303edd51362 from master
2017-05-25 13:17:25 -04:00
Dima Veselov
945b3d1da1 [1.11.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 01d7ff9a17af2024956f6c81106a22bffcd9a703 from master
2017-05-25 05:45:15 -04:00
Tim Graham
64ed10e672 [1.11.x] Removed usage of deprecated sphinx.util.compat.Directive.
Backport of cb16458c4f91fe43b898b55b04fb177e914ac3af from master
2017-05-24 10:45:12 -04:00
Dmitry Shachnev
b78e5dec18 [1.11.x] Fixed docs build with Sphinx 1.6.
Backport of f370bfb10878918eae8db9985e0856949fa65d3a from master
2017-05-24 09:47:24 -04:00
vinay karanam
d1d08d86ba [1.11.x] Fixed #28230 -- Allowed DjangoJsonEncoder to serialize CallableBool. 2017-05-22 21:58:38 -04:00
Claude Paroz
65dfe579d0 [1.11.x] Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-05-22 19:32:02 +02:00
Markus Amalthea Magnuson
bd6a3546d4 [1.11.x] Made docs/topics/migrations.txt use single quotes consistently.
Backport of 266b24316841f878c129e6dbb026f6c3edcdb54f from master
2017-05-22 12:07:09 -04:00
Michiel Beijen
ec24108008 [1.11.x] Pointed Dive into Python links to python3 site
Backport of 48028c6f9a22742ff05da79822f5e3385d1b4c4c from master
2017-05-20 21:46:18 -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
Danilo Bargen
84f6098aaf [1.11.x] Documented OSMWidget.default_lat/lon.
Backport of 680968b9e42d63f9a3ee929ebd6afdef06999d24 from master
2017-05-13 17:44:45 -04:00
Tim Graham
28fe20b5af [1.11.x] Fixed widgets module path in docs/ref/contrib/gis/forms-api.txt.
Backport of b0d0dbe2806567c6cf1b9f3f41976bf1abe95065 from master
2017-05-12 09:24:35 -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
Riccardo Magliocchetti
643413f654 [1.11.x] Fixed #28148 -- Doc'd ImageField name validation concerns with the test client.
Backport of bdf192c59357a0d8117f6f34c94fb32a51e7a774 from master
2017-05-11 19:39:42 -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
b3e56da050 [1.11.x] Fixed #28178 -- Changed contrib.gis to raise ImproperlyConfigured if gdal isn't installed.
Backport of c2975910a5bc2729c2de01eb5b84777fa59551e1 from master
2017-05-08 12:26:10 -04:00
Tim Graham
7fdbd25336 [1.11.x] Fixed #28181 -- Added detection for GDAL 2.1 and 2.0.
Follow up to:
ffdf507ec0821f0520e315c2e8a6cf231ea3fd5a (adding GDAL 2.0 support)
ebaa2fef27644430e2b9dfa912f02e39582bfc05 (confirming GDAL 2.1 support)
8c7778884bced3e756ce139da781b0c8c8b2395c (removing GDAL 1.8, 1.7 support)

Backport of a404f75f92971634c76330f3742261d33ccecca1 from master
2017-05-08 11:00:49 -04:00
Tim Graham
4bdc832a75 [1.11.x] Fixed #28095 -- Doc'd Widget.build_attrs() signature change in Django 1.11.
Backport of e86f4786a7f39b0ed833c0699addf0c27811d864 from master
2017-05-06 14:46:37 -04:00
Tim Graham
97f0e32f8e [1.11.x] Added stub release notes for 1.11.2.
Backport of b57dc9268bc635525cf143ca0b36276e04542332 from master
2017-05-06 09:46:46 -04:00
Tim Graham
4412835790 [1.11.x] Added release date for 1.11.1.
Backport of cedaac34283fc814a1c2aa51d6c6386667668656 from master
2017-05-06 08:24:06 -04: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
Christoph Schindler
73d4560a92 [1.11.x] Fixed typo in docs/ref/forms/fields.txt.
Backport of 2874531ab59d46a48e32fb553ac86499778784bc from master
2017-05-05 18:24:46 -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
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
Mariusz Felisiak
fec151222e [1.11.x] Fixed broken links to Oracle docs.
Backport of 16121da78d7a522bf6b6e5fe704eb655b9ab442d from master
2017-05-04 09:13:47 -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
Mariusz Felisiak
c5b7421068 [1.11.x] Fixed broken link to QUnit docs.
Backport of 9b2d47bcded8320114193e9b2a200119a19974a6 from master
2017-05-03 07:32:13 -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
72a93da1b6 [1.11.x] Fixed broken link to mysqlclient docs.
Backport of 13cd5b067054f40c6ca723c97fff56c510c04295 from master
2017-05-02 20:17:39 -04:00
Tim Graham
6e89abdc49 [1.11.x] Refs #28100 -- Added 1.11.1 release note for e6bfd3d751278d7cfd09af1120c4bbce509c05da.
Backport of 941280229e8cd108c2d8ead12b0dcf3ff021bf23 from master
2017-05-01 21:31:33 -04:00