1
0
mirror of https://github.com/django/django.git synced 2025-03-15 20:00:46 +00:00

24167 Commits

Author SHA1 Message Date
Philip James
34ea3d61af [1.11.x] Fixed #26028 -- Added overriding templates howto.
Backport of 7c9a83330169df1118f6bd690aed131e7c59638d from master
2017-06-02 18:21:35 -04:00
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
Lachlan Musicman
84dac491d4 [1.11.x] Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt.
Backport of 00093daec9cc61d8af7fcebdbe58e263bea935a3 from master
2017-06-02 09:17:31 -04:00
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
3cd9a4b1ea [1.11.x] Sorted imports per isort 4.2.9.
Backport of cde31daf8815e05b4b86b857b49fb0e31e1f0a38 from master
2017-06-01 13:30:08 -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
80a62ac64f [1.11.x] Post-release version bump. 2017-06-01 12:54:38 -04:00
Tim Graham
ce4edd260b [1.11.x] Bumped version for 1.11.2 release. 1.11.2 2017-06-01 11:22:36 -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
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
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
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
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
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
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
Yuichi Fujikawa
d6bff52fdf [1.11.x] Fixed docstring typo in django/contrib/admin/actions.py.
Backport of f8bce94997739e4e61919cddff84fc3e3302d8f7 from master
2017-05-25 05:55:04 -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
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
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
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
Florian Apolloner
ab0df82b40 [1.11.x] Pass type to sql_alter_column_* where it was missing.
This is a followup to 2b3a9414570af623853ca0f819c7d77d0511f22c

Backport of 837259a63ff03fbc0ca2bc2999a6fbc8c6c40bcc from master.
2017-05-09 12:49:09 +02: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