Simon Charette
0ef04fdd7a
Refs #31926 -- Fixed reverse related identity crash on Q() limit_choices_to.
2020-10-05 20:47:51 +02:00
Simon Charette
4c675523bd
Refs #29838 , Refs #28507 -- Made make_hashable() ignore key order.
2020-10-05 20:42:46 +02:00
Hasan Ramezani
981a3426cf
Fixed #32068 -- Added error messages on get() with filters following union(), intersection(), and difference().
2020-10-05 12:25:05 +02:00
Hasan Ramezani
7cfa40d872
Refs #32068 -- Added tests for get() following union(), intersection(), and difference().
2020-10-05 12:25:02 +02:00
David-Wobrock
c32d8f33d8
Fixed #31926 -- Fixed recreating queryset with FilteredRelation when using a pickled Query.
...
In a pickled join, the join_fields had the same values, but weren't the
same object (contrary to when not pickling the QuerySet).
2020-10-05 10:07:34 +02:00
Mariusz Felisiak
292b3be698
Refs #31777 -- Doc'd Char/TextField.db_collation parameter in MySQL notes.
2020-10-02 13:29:50 +02:00
Nick Pope
06c5d3fafc
Fixed #32060 -- Added Random database function.
2020-10-02 06:58:03 +02:00
Peter Marheine
f87b0ecd37
Fixed #32041 -- Doc'd how to modify served files' content types on Windows.
2020-10-01 13:32:26 +02:00
Thibaud Colas
d6d007819d
Fixed typo in tests/view_tests/tests/test_debug.py docstring.
2020-10-01 13:08:25 +02:00
Thibaud Colas
b807298c66
Fixed #32051 -- Fixed rocket animation on the 'Congrats' page.
...
- Fixed congratulations smoke being cropped.
- Refactored congratulation rocket so the animation can be stopped.
- Made animation respect user preference for reduced animation.
- Made rocket animation stop after 7s.
2020-10-01 11:55:26 +02:00
Thibaud Colas
838e115ab1
Refs #32051 -- Cleaned up CSS and SVG in the 'Congrats' page.
...
- Removed unnecessary vendor prefixes.
- Removed unused CSS and SVG code.
- Removed invalid CSS.
- Removed IE9-only browser reset styles.
- Fixed animation on Firefox.
2020-10-01 11:11:58 +02:00
MAHANTH-wq
0da212ffbf
Fixed #32057 -- Doc'd HttpResponse.get()/items().
2020-10-01 09:44:40 +02:00
Mariusz Felisiak
85fa24e3eb
Added stub release notes for 3.1.3.
2020-10-01 07:52:45 +02:00
Mariusz Felisiak
5a1f0f1318
Added release date for 3.1.2.
2020-10-01 07:22:28 +02:00
Tom Carrick
8ee4bb6ffc
Fixed #31986 -- Fixed admin filter sidebar scrolling.
...
Regression in 2bc38bc7ca
.
Thanks haki for the report.
2020-09-30 20:35:16 +02:00
Hasan Ramezani
6eb3f53bdd
Fixed #32047 -- Fixed call_command() crash if a constant option from required mutually exclusive group is passed in options.
2020-09-30 20:10:38 +02:00
aryan
11c4a4412b
Fixed #30422 -- Made TemporaryFileUploadHandler handle interrupted uploads.
...
This patch allows upload handlers to handle interrupted uploads.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-09-30 10:30:43 +02:00
aryan
21b127bfbc
Refs #30422 -- Added test for removing temporary files in MultiPartParser when StopUpload is raised.
2020-09-30 10:29:08 +02:00
Claude Paroz
5fcfe5361e
Updated translations from Transifex.
...
Forwardport of f7397bb7c8
from stable/3.1.x.
2020-09-30 10:25:48 +02:00
Thomas Grainger
c1442e1192
Updated ASGI uvicorn deployment docs.
2020-09-29 10:55:06 +02:00
David Wobrock
058747b77a
Fixed #31880 -- Made QuerySet.aggregate() raise FieldError when aggregating over aggregation aliases.
2020-09-29 09:04:25 +02:00
Jacob Walls
01a7af09b9
Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when plural count is not a number.
2020-09-29 08:03:51 +02:00
meghanabhange
848770dd2c
Fixed #32042 -- Improved error messages for the number of submitted forms in formsets.
2020-09-28 07:05:34 +02:00
David Smith
91669cc566
Fixed #28009 -- Doc'd empty_value for CharField subclasses.
2020-09-25 12:36:33 +02:00
David Smith
b8239cae19
Refs #28009 -- Added empty_value tests for CharField subclasses.
2020-09-25 12:33:54 +02:00
David Smith
997f87c5b0
Added assertions for cleaning None values for forms.JSONField and forms.UUIDField.
2020-09-25 10:12:01 +02:00
David Smith
e6d77e6515
Fixed empty values of forms.JSONField and forms.UUIDField in docs.
2020-09-25 10:12:01 +02:00
David Smith
4b032142fa
Used assertRaisesMessage() in CharField tests.
2020-09-25 10:12:01 +02:00
Mariusz Felisiak
e4ab44a4b2
Fixed #32038 -- Fixed EmptyFieldListFilter crash with GenericRelation.
...
Thanks Javier Matos Odut for the report.
2020-09-25 10:09:28 +02:00
Mariusz Felisiak
33e91f3ed8
Refs #32038 -- Added note to ModelAdmin.list_filter docs that GenericForeignKeys are not supported.
2020-09-25 10:09:28 +02:00
Mariusz Felisiak
10a289745f
Fixed typo and indentation in docs/ref/forms/fields.txt.
2020-09-25 10:04:10 +02:00
David Smith
599f2f79e2
Fixed #30563 -- Optimized form Media by removing duplicated assets when adding.
2020-09-24 13:53:06 +02:00
David Smith
1ac337cca6
Refs #30563 -- Added tests for merging form Media with different ordering.
2020-09-24 13:53:02 +02:00
Jacob Walls
e26a7a8ef4
Fixed #27906 -- Fixed test tools counting of HTML matches for subsets of elements.
...
Previously examples such as '<a/><b/>' would not match in '<a/><b/><c/>'.
2020-09-24 12:52:41 +02:00
Matthias Kestenholz
01974d7f75
Fixed #32029 -- Removed unnecessary margin in admin CSS for horizontal radio inputs.
2020-09-23 13:58:26 +02:00
Matthias Kestenholz
01c6caa3e6
Fixed #32027 -- Fixed wrapping of long words in admin error messages.
2020-09-23 13:51:02 +02:00
Paweł Zarębski
054ab1e00f
Fixed example of QuerySet.explain() with flags in docs.
2020-09-23 11:47:31 +02:00
Mariusz Felisiak
77caeaea88
Fixed #32012 -- Made test database creation sync apps models when migrations are disabled.
...
Thanks Jaap Roes for the report.
2020-09-23 10:54:04 +02:00
Raffaele Salmaso
7b9596b974
Fixed #32034 -- Removed redundant get_app_config() call in AdminSite.app_index.
...
app_config.verbose_name is already in app_dict.
2020-09-23 10:01:05 +02:00
Raffaele Salmaso
666f2e8acd
Refs #32034 -- Added test for title on admin app index view.
2020-09-23 10:01:03 +02:00
Hasan Ramezani
71d10ca8c9
Fixed #31723 -- Fixed window functions crash with DecimalField on SQLite.
...
Thanks Simon Charette for the initial patch.
2020-09-23 09:35:32 +02:00
Carlton Gibson
2a55431a56
Fixed #32016 -- Clarified manual logging config docs.
2020-09-22 14:15:38 +02:00
János Roden
9e4b1ad33e
Fixed #32004 -- Clarified docs for when request.FILES is set.
...
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-09-22 13:28:00 +02:00
Mariusz Felisiak
75d7af43c1
Corrected docstring quotes in various code.
2020-09-22 10:30:53 +02:00
Mariusz Felisiak
f7806193e6
Made indexes tests use required_db_features.
2020-09-22 10:29:59 +02:00
Adam Johnson
2d2fbc3a70
Made jinja2 import lazy in django.forms.
...
Benchmarking shows that about 22% of the startup time for a simple
django project was spent importing jinja2, which the project doesn't
use.
It's reasonable to make this import lazy. This will only affect
projects where jinja2 is installed but not used, but given the
prevalence of jinja2 that's likely to be many environments (e.g. if
Ansible is installed, or the global Python install is used).
2020-09-22 09:53:17 +02:00
Tom Carrick
e387f191f7
Fixed #31777 -- Added support for database collations to Char/TextFields.
...
Thanks Simon Charette and Mariusz Felisiak for reviews.
2020-09-21 18:24:56 +02:00
Mariusz Felisiak
ba6b32e5ef
Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes.
2020-09-21 06:25:23 +02:00
Tom Carrick
278b6187d2
Refs #21181 -- Corrected DatabaseFeatures.test_collations for Swedish collation.
...
Previously, backends used different keys "swedish-ci" or "swedish_ci".
2020-09-18 12:15:46 +02:00
David D Lowe
f3901b5899
Doc'd that UpdateCacheMiddleware and cache_page affect downstream caches.
...
Thanks to Nick Pope for review.
2020-09-17 14:28:22 +02:00