1
0
mirror of https://github.com/django/django.git synced 2025-04-01 20:16:43 +00:00

24083 Commits

Author SHA1 Message Date
Jon Dufresne
ccb8297eee [1.11.x] Fixed #28282 -- Fixed class-based indexes name for models that only inherit Model.
Backport of 0c3c37a376bac149fe7e7e4b2696f8fb7990e2ab from master
2017-06-08 09:47:18 -04:00
Mads Jensen
319839d780 [1.11.x] Refs #25240 -- Added ExtractWeek examples.
Backport of 085c2f94ec0155417601a9750ad60bb93536e166 from master
2017-06-08 09:17:01 -04:00
Tim Graham
288fd9b9e0 [1.11.x] Corrected FileExtensionValidator doc regarding the value being validated.
Backport of c01409c7899789206b40769ed308e6a7297f9697 from master
2017-06-07 16:52:50 -04:00
Tim Graham
56e4a01b50 [1.11.x] Simplified tutorial's test names and docstrings.
Backport of 23825b2494a1edb1e02d57dbdc7eca0614cefcc8 from master
2017-06-07 09:47:34 -04:00
Tim Graham
bc9c6fe7cb [1.11.x] Fixed #28233 -- Used a simpler example in the aggregation "cheat sheet" docs.
Backport of 49b9c89d4094574117c9d5b7a696ce152e02553a from master
2017-06-07 09:43:48 -04:00
kakulukia
992f143bad [1.11.x] Fixed #28278 -- Fixed invalid HTML for a required AdminFileWidget.
Backport of 525dc283a68c0d47f5eb2192cc4a20111d561ae0 from master
2017-06-06 15:57:08 -04:00
Tim Graham
6ae60295d7 [1.11.x] Updated was_published_recently() tutorial test to check boundary condition.
Backport of 268a646353c6fa9e5fc3730e13b386ddabb018ef from master
2017-06-06 12:17:16 -04:00
Tim Graham
8f7e6b55e5 [1.11.x] Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.
Backport of fc13a697b41568993ba02b7c52bb863456af6c84 from master
2017-06-06 11:27:18 -04:00
Paulo
a0707947e4 [1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
Backport of 4ad2f862844d35404e4798b3227517625210a72e from master
2017-06-06 08:18:08 -04:00
Windson yang
b373812b0b [1.11.x] Fixed #28102 -- Doc'd how to compute path to built-in widget template directories.
Backport of 7f238097c0614707d6ee3fffbaf76f111b2fd38d from master
2017-06-05 17:27:05 -04:00
Paulo
834d57b4de [1.11.x] Fixed #28262 -- Fixed incorrect DisallowedModelAdminLookup when a nested reverse relation is in list_filter.
Backport of b7f99f84bcc4a06114ac31174840efab0aef7602 from master
2017-06-05 11:34:43 -04:00
Adam Johnson
b7d6077517 [1.11.x] Fixed #28269 -- Fixed Model.__init__() crash on models with a field that has an instance only descriptor.
Regression in d2a26c1a90e837777dabdf3d67ceec4d2a70fb86.

Backport of ed244199c72f5bbf33ab4547e06e69873d7271d0 from master
2017-06-05 09:15:55 -04:00
Adam Johnson
fa8346b9a9 [1.11.x] Added a test for Model._meta._property_names.
Backport of 36f09c8a29eaad6a7e903ddc3ea1e8b5954ee67a from master
2017-06-05 09:05:53 -04:00
Tim Graham
d6100b715d [1.11.x] Fixed typo in docs/ref/forms/fields.txt.
Backport of ecae9c7aec3012788e08dea60bede63405c860fa from master
2017-06-05 08:24:34 +02:00
Claude Paroz
81c3967e55 [1.11.x] Refs #28192 -- Fixed documentation of ChoiceField choices requirement
Thanks Tim Graham for noticing the issue.
Backport of 54caca2d34c7cb6807da0a82bcec7b3a679ac104 from master.
2017-06-03 16:19:09 +02:00
Anupam
9a3bcaf46a [1.11.x] Fixed #28190 -- Clarifed how include/extends treat template names.
Backport of 1f2e4f9cfe26dd9ad1fc85375c1dce38c65bbe6b from master
2017-06-03 08:11:41 -04:00
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