1
0
mirror of https://github.com/django/django.git synced 2025-04-11 19:12:22 +00:00

9892 Commits

Author SHA1 Message Date
orf
f908e9d015 [1.11.x] Fixed #28284 -- Prevented Paginator's unordered object list warning from evaluating a QuerySet.
Backport of a118287bca65f2e5da110c89509941c677ebc2e1 from master
2017-06-13 08:34:49 -04:00
Mariusz Felisiak
44e29ea1e9 [1.11.x] Fixed #28293 -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.

Backport of 82175ead723f8fa3f9271fbd4b24275097029aab from master
2017-06-13 08:33:26 +02:00
Paulo
927d9b51fe [1.11.x] Fixed #27967 -- Fixed KeyError in admin's inline form with inherited non-editable pk.
Thanks Robin Anupol for the initial report and workaround.

Backport of 9dc83c356d363c090f3351c908cad6f823aeb7bf from master
2017-06-12 21:22:53 -04:00
Tim Graham
7fb148a638 [1.11.x] Fixed #27655 -- Added some guidelines to the coding style docs.
Backport of c68f5d83c0a4ea4ccf87c7d1d5dd1e9f7b2907a3 from master
2017-06-12 15:39:25 -04:00
Tim Graham
48ce204488 [1.11.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 0877989c94130079930419e867ff55fa1fb4f5a0 from master
2017-06-09 12:48:46 -04:00
Tim Graham
109fd94c96 [1.11.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
Backport of 108ff788cbcd0e1f492d1494dc95e7b2165340fd from master
2017-06-09 12:43:19 -04:00
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
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
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
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