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

24056 Commits

Author SHA1 Message Date
seanfagan
b406c3ea28 [1.11.x] Fixed #27945 -- Clarified that RegexValidator searches with the regex.
Backport of 325db2a8c3453a56db5e0df0eed37476eb67802d 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 43380e911073beab401a2fdeca0f25001e170dac 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 7063a85579f40585f2601ba6e6887b0982e7ce43 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 3d19d1428a05b514afb771b52870d1f7c25670d1 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 4224ecb74e536b0fce2afda0f3662520e9a3cff3 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 1e93210f1f622b692dd65e861f0793ac61552d28 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 075e93c16a82ba7869a0b2d572e99fdbd0724042 and
93d07701045c242f81396016ab4ae15ba63a55d9 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 6ff356e891502f3da20f51299f45f4b95d72edd5 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 816c5753ac554b2af710aebc98ad60fd5823e03f 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 88c003c2bd9e0af08740612050c78dd94e317ddd 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 a3af8c99d94638e0d1fc8a847b74aa6953441d55 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 0c6c859d4edf6e462d000da21b4fa5009cb2696f 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 2867b7eb4b8477710f11707d4b975db10e5f91a7 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 82bb4e684f9d0e5939cb0596c249954df0888e2d 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 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (refs #25004).

Backport of 93eca976c15dceaf445ab4739bb2f635a2021db0 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 66bbde6819586cc3a75630e12e569dc8ae72f211 from master
2017-03-17 09:03:45 -04:00
Sergey Fedoseev
8ac03edd8d [1.11.x] Removed MySQL (unsupported) from Perimeter docs.
Backport of e32265de1a68361ea078f49877ccb0f742508728 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 757aefc12b79bac1bab730ac465fbfd3f810b61d 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 1c3ddc0d27f1fa2ad35168beba52fb19a569278c 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 5bd7ffc3137745ef67a9393f62a74e862beaeff7 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 6bc4ff36db0d85ac96ca91ae758159ee43836f86 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 44f9241c48e28823b140bc4ec7515f5a88b88c32 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 0d83052e52ddfe99c214be7ffca348a3c8feaef5 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 1b96dbdad0f9e65bf31764aa017f411d116682fc from master
2017-03-15 09:05:53 -04:00
lb1c
70e6064d6b [1.11.x] Fixed incorrect import in docs/ref/models/expressions.txt.
Backport of 36f2262741311159e5c13eb5114fb9e902e2df31 from master
2017-03-15 08:10:09 -04:00
Tobias McNulty
4188b20e3a [1.11.x] Replaced docs/internals/team.txt with DSF teams page.
Backport of 3f64fd2f75342fa061338d75916c08b98f0c7797 from master
2017-03-14 16:37:04 -04:00
Claude Paroz
70c5b8db42 [1.11.x] Refs #27920 -- Added missing encoding preamble on widget test file 2017-03-14 20:18:51 +01:00
Claude Paroz
d8e90040e9 [1.11.x] Fixed #27920 -- Restored empty RadioSelect choice producing value=""
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
Thanks Tim Graham for the review.
Backport of 540ae68a5cc6339c72375fad9b04dc48f3af4c93 from master.
2017-03-14 18:27:19 +01:00
Mads Jensen
c654ead898
[1.11.x] Used constant instead of hard-coded value for max index name length
Refs #26709

Backport of e7033e00f8e1ba2ffe538e56c5088a7e94c2e45d from master
2017-03-14 15:55:07 +01:00
Florian Apolloner
293ff4d2b4 Typo fix.
Backport of bf0dff4bed5ebb4f922829e5f7e8da5ec51f2a1c from master.
2017-03-13 22:03:34 +01:00
Mariusz Felisiak
9924c8a8b0 [1.11.x] Fixed #27924 -- Added support for cx_Oracle 5.3.
- Fixed Oracle backend due to cx_Oracle 5.3 change in the
Cursor.description behavior i.e. "Use None instead of 0 for items in
the Cursor.description attribute that do not have any validity.".
- Used cx_Oracle.Object.size() instead of len().
Thanks Tim Graham for the review.

Backport of 75503a823f6358892fff5aeb3691683ad9cc5a60 from master
2017-03-10 23:07:50 +01:00
Tim Graham
e9e58ec65e [1.11.x] Described DEBUG_PROPAGATE_EXCEPTIONS behavior in more detail.
Backport of c577d8a4981233b4d0f65c6ce57ae33d304095b9 from master
2017-03-09 14:04:29 -05:00
Tim Graham
e9ba8563c1 [1.11.x] Reverted "Refs #16682 -- Tested transaction.atomic() with KeyboardInterrupt."
This reverts commit d895fc9ac01db3d3420aa7c943949fe17b3ce028 since the
test is problematic as described in the ticket.

Backport of dfbdba924fd7cf12ce92f7a86b97590d25b75733 from master
2017-03-09 10:09:00 -05:00
Sergey Kholodilov
993406770a [1.11.x] Fixed Python 2/Windows libgdal crash if PATH contains non-ASCII symbols. 2017-03-09 09:12:08 -05:00
David D Lowe
c7351eaa92 [1.11.x] Fixed #27911 -- Doc'd how to register custom User with admin.
Backport of 9269dec05efae5deb89912a5b9a98ae75acdfff9 from master
2017-03-08 12:15:22 -05:00
Camilo Nova
33d2c53fb1 [1.11.x] Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend.
Backport of 5db465d5a6c389b8f9c6e21f7233be9387dc069d from master
2017-03-07 19:54:23 -05:00
Tim Graham
36d640cd1f [1.11.x] Factored out uid/user tokens in auth_tests urlpatterns.
Backport of 72ff9d53e66d6b59ae5d8a1b830f5fc798eb75d0 from master
2017-03-07 19:53:08 -05:00
Raphael Merx
89b31b312e [1.11.x] Fixed #27905 – Added RelatedFieldWidgetWrapper.value_omitted_from_data().
Backport of fd75c8f2b7070774f6e90f408cb5cddf65b8734e from master
2017-03-07 13:56:45 -05:00
Tim Graham
679560b7d8 [1.11.x] Added stub release notes for 1.10.7.
Backport of 6c5348b9d2f49e0b06167ba782829e9754c05bf5 from master
2017-03-07 13:05:56 -05:00
Claude Paroz
ca58a405fc [1.11.x] Refs #27622 -- Fixed a regression in JSON content-type detection
A JSON Content-Type can contain further content, like charset for example.
Backport of 145f6c3ed6e8856078e2d04ff2567e9fb4a17930 from master.
2017-03-07 17:00:20 +01:00
Claude Paroz
77c3cbe08a [1.11.x] Renamed a test variable to prevent possible conflict with imports
Backport of 324c4b6371cf635effd4d5ee7315c7311fbaf1b6 from master.
2017-03-07 16:33:16 +01:00
Tim Graham
4852276aba [1.11.x] Fixed #26817 -- Doc'd downsides and alternatives to Jinja2 context processors.
Thanks Aymeric Augustin and Carl Meyer.

Backport of dacdcec767ae23b4c7107bfe447d29a1c88af48c from master
2017-03-06 13:35:10 -05:00
Tim Graham
6392bf26ca [1.11.x] Fixed #27900 -- Made escapejs escape backticks for use in ES6 template literals.
Backport of 6ae1b04fb584db0fdb22b8e287784c4ed3ac62ac from master
2017-03-04 09:04:40 -05:00
Tim Graham
1f20326db0 [1.11.x] Fixed #27887 -- Fixed URLs check crash with namespaced URLs inside non-namespaced URLs.
Backport of b23d264046db1c8f58a174b9be27ee760341ba06 from master
2017-03-03 10:52:48 -05:00
David Szotten
93c8e2d50d [1.11.x] Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.
Backport of d82ee32aac323b7260cc95278c69b81d98dbd00a from master
2017-03-02 10:58:47 -05:00
albertoconnor
f834c278b5 [1.11.x] Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 2863e79a5c061b58e57ea7edc12701010725537c from master
2017-03-01 15:42:17 -05:00
Tim Graham
6109a04251 [1.11.x] Fixed a backends test with psycopg2 2.7.
Backport of 49a63d08d3b3e2ac32e391d1413a4ac99429e4af from master
2017-03-01 13:20:23 -05:00
Adam Johnson
6382a60f28 [1.11.x] Fixed typo in docs/releases/1.10.6.txt.
Backport of c1d652c62f4d03a36dfe5c3a93ab68076825423c from master
2017-03-01 10:11:51 -05:00
Tim Graham
bb049268c6 [1.11.x] Added release date for 1.10.6.
Backport of 4f22505a9f96688f27089b49983efd5c49381298 from master
2017-03-01 08:27:46 -05:00