Commit Graph

23981 Commits

Author SHA1 Message Date
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 002fe07622 from master
2017-04-03 22:32:41 -04:00
Aleksej Manaev 8165863a67 [1.11.x] Fixed typos in docs/howto/static-files/index.txt.
Backport of 7170820b4e from master
2017-04-03 08:14:06 -04:00
Tim Graham e34cce79ff [1.11.x] Refs #27025 -- Fixed "invalid escape sequence" warning in auth_tests on Python 3.6.
Backport of d4d79d0f20 from master
2017-04-02 20:03:36 -04:00
Jirka Schäfer 233d0b238e [1.11.x] Clarified meaning of "Optional" in auth.models.User field docs.
Backport of 73c30b79c0 from master
2017-04-01 21:25:57 -04:00
Simon Charette f0bf4bd79c [1.11.x] Fixed #28003 -- Doc'd what an auto-created OneToOneField parent_link looks like.
Backport of 0ad7e8f71f from master
2017-04-01 21:22:19 -04:00
Tim Graham 0a8dbd9c2f [1.11.x] Fixed #28004 -- Doc'd how to create migrations for an app without a migrations directory.
Backport of 7b53041420 from master
2017-04-01 14:43:29 -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 eba34c49c2 [1.11.x] Fixed #27988 -- Fixed typo in docs/ref/django-admin.txt.
Backport of ea36e7454c from master
2017-03-28 10:38:23 -04:00
Paolo Melchiorre e8f585440d [1.11.x] Made a few cosmetic updates to "Migrations that add unique fields".
Backport of 24d53786d4 from master
2017-03-27 14:07:35 -04:00
Claude Paroz 28cf32b2cb [1.11.x] Fixed #27981 -- Doc'd date/time filter l10n changes in refs #25758.
Backport of 6585ebebaa from master
2017-03-27 12:53:17 -04:00
Stefano Rivera 4b00657f24 [1.11.x] Removed unexpected initial attribute in data migration examples.
Inadvertently added in db97a88495.
Backport of 899c42cc8e from master
2017-03-25 16:00:10 -04:00
Sergey Fedoseev 992c929d22 [1.11.x] Removed unused links in docs/internals/contributing/triaging-tickets.txt.
Backport of 24d40e7e0c from master
2017-03-25 13:06:03 -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
Sergey Fedoseev 37b28c9d7a [1.11.x] Refs #27556, #27488 -- Updated support backends docs for isvalid lookup.
Backport of 075f13e44f master
2017-03-23 13:08:46 -04:00
Sergey Fedoseev 04a2fd5e00 [1.11.x] Linked GIS QuerySet API docs to corresponding PostGIS docs.
Backport of 7b6524e0ff from master
2017-03-22 12:22:52 -04:00
Sergey Fedoseev 02bc5563b8 [1.11.x] Clarified backend support of Area GIS function.
Backport of 6052b185ca from master
2017-03-22 09:54:12 -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 5310106ee3 [1.11.x] Fixed #27949 -- Doc'd how OpenLayers 3 widgets work.
Backport of 4224ecb74e from master
2017-03-21 10:51:01 -04:00
Mikkel Munch Mortensen 98f8e800dd [1.11.x] Fixed #27963 -- Removed unneeded docstring example in contributing docs.
Backport of 1e93210f1f from master
2017-03-21 10:46:03 -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
Sergey Fedoseev 4f02adbf53 [1.11.x] Fixed #27965 -- Fixed precision comparison in a geoforms test (refs #27939).
Backport of 816c5753ac from master
2017-03-21 09:05:00 -04:00
Garry Polley c2e39bcd30 [1.11.x] Removed an obsolete temporal reference in docs/faq/general.txt.
Backport of 88c003c2bd from master
2017-03-21 08:43:09 -04:00
Mariusz Felisiak 3b4947e7ba [1.11.x] Removed extra characters in docs header underlines.
Backport of a3af8c99d9 from master
2017-03-20 18:31:28 -04:00
Tim Graham e0ddfa3af3 [1.11.x] Fixed #27890 -- Fixed FileNotFoundError cleanup exception in runtests.py on Python 3.6+.
Backport of 0c6c859d4e from master
2017-03-20 12:02:09 -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
Sergey Fedoseev 926b4427d2 [1.11.x] Clarified return value of NumGeometries GIS function.
Backport of 66bbde6819 from master
2017-03-17 09:03:45 -04:00
Sergey Fedoseev 8ac03edd8d [1.11.x] Removed MySQL (unsupported) from Perimeter docs.
Backport of e32265de1a from master
2017-03-17 07:48:37 -04:00
Mariusz Felisiak 17d75472f0 [1.11.x] Fixed nondeterministic ordering test failure in model_forms.
Backport of 2767ef3ca7 from master
2017-03-17 09:44:45 +02:00
Alasdair Nicol d8039dfb0a [1.11.x] Removed self from method signatures in docs.
Backport of 757aefc12b from master
2017-03-16 20:34:15 -04:00
Sergey Fedoseev 8d5bccfe76 [1.11.x] Linked GIS functions docs to corresponding PostGIS docs.
Backport of 1c3ddc0d27 from master
2017-03-16 14:48:56 -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
Pavel Kulikov 3c1ed1d336 [1.11.x] Fixed #27918 -- Documented ChoiceWidget.option_template_name
Backport of 0d83052e52 from master
2017-03-15 10:09:26 -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