0
0
mirror of https://github.com/django/django.git synced 2024-11-30 07:06:18 +01:00
Commit Graph

11402 Commits

Author SHA1 Message Date
Mariusz Felisiak
4c45b627f8 Removed unused import of ACTION_CHECKBOX_NAME in django.contrib.admin.
Unused since e651b3095c.
2019-11-06 12:49:42 +01:00
Daniel Fairhead
e651b3095c Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.
2019-11-06 12:49:27 +01:00
Jon Dufresne
fbbff7f808 Refs #29983 -- Added pathlib.Path support to the file email backend. 2019-11-06 09:33:07 +01:00
Dan Swain
422b875c65 Documented arguments for custom 500 error view. 2019-11-06 09:08:15 +01:00
Stephen Rauch
4b6db766ba Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Support for sqlparse < 0.2.2 was broken in
782d85b6df because is_whitespace property
was added in sqlparse 0.2.2.
2019-11-06 08:45:43 +01:00
Jon Dufresne
c8debd5061 Added a link to the file email backend from EMAIL_FILE_PATH setting. 2019-11-06 08:24:49 +01:00
Jon Dufresne
89368ab6e3 Fixed #30944 -- Changed reusable apps docs to use a declarative config. 2019-11-05 14:58:09 +01:00
kola-er
d94d7b113c Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.
2019-11-05 14:34:40 +01:00
Alasdair Nicol
b991eefd3a Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs. 2019-11-05 12:41:14 +01:00
Jon Dufresne
b9fe7f9294 Fixed #30947 -- Changed tuples to lists in model Meta options in django.contrib modules.
The Django "Model Meta options" docs provide examples and generally
point the reader to use lists for the unique_together and ordering
options. Follow our own advice for contrib models.

More generally, lists should be used for homogeneous sequences of
arbitrary lengths of which both unique_together and ordering are.
2019-11-05 08:16:31 +01:00
Mariusz Felisiak
e5cacb1f47 Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
Follow up to 97d3321e89.
2019-11-04 10:20:30 -08:00
Claude Paroz
6ccb1b68bc Added Uzbek language. 2019-11-04 14:50:00 +01:00
Adam Johnson
5a856669bf Updated list of field types conversions in ModelForm docs. 2019-11-04 10:31:48 +01:00
Mariusz Felisiak
126cfefce2 Added release dates for 2.2.7, 2.1.14, and 1.11.26. 2019-11-04 08:20:22 +01:00
Carlton Gibson
2d38eb0ab9 Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
Thanks Sergey Fedoseev for the implementation idea.

Regression in a68ea23101.
2019-11-04 07:55:34 +01:00
Sky
3cf907c20c Fixed #30761 -- Prevented floatformat filter from returning a negative zero. 2019-10-31 10:48:35 +01:00
Hasan Ramezani
17752003a8 Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path. 2019-10-31 09:06:05 +01:00
Gil Forcada Codinachs
632d7bbd3d Fixed typo in docs/ref/signals.txt. 2019-10-30 16:52:40 +01:00
Mariusz Felisiak
a370dbd954
Corrected error message in Many-to-many relationships docs. 2019-10-30 16:17:20 +01:00
Felipe Lee
c2c27867ef Refs #20456 -- Moved initialization of HEAD method based on GET to the View.setup() for generic views.
This will ease unit testing of views since setup will essentially do
everything needed to set the view instance up (other than instantiating
it). Credit for idea goes to Vincent Prouillet.
2019-10-30 14:43:52 +01:00
André Ericson
54a7b02112 Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage(). 2019-10-30 13:35:36 +01:00
Hasan Ramezani
6315a272c5 Refs #28428 -- Made filepath_to_uri() support pathlib.Path. 2019-10-30 13:13:15 +01:00
Ken Whitesell
4c762588ff Fixed #30917 -- Clarified formsets topic documentation. 2019-10-30 08:41:31 +01:00
Hasan Ramezani
f57e174fa6 Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data. 2019-10-29 14:29:39 +01:00
Mariusz Felisiak
bf7b3e2750 Fixed typo in docs/topics/files.txt. 2019-10-29 14:28:05 +01:00
Adam Johnson
ab0fd3f58f Documented the order in which signal receivers are called. 2019-10-28 13:31:23 +01:00
Sergey Fedoseev
6bbf9a20e2 Fixed #29770 -- Added LinearRing.is_counterclockwise property. 2019-10-25 14:28:26 +02:00
Mariusz Felisiak
daa9415f78
Refs #30908 -- Fixed the empty value of forms.FilePathField in docs. 2019-10-25 11:22:03 +02:00
Saad
fc2b1cc926 Fixed #30904 -- Doc'd caveat about using filtered queryset with select_for_update() on MySQL. 2019-10-25 08:34:06 +02:00
Hasan Ramezani
05c3ef26a2 Fixed #30906 -- Fixed an example of using the template system to generate CSV. 2019-10-25 08:11:11 +02:00
Carlton Gibson
cabf1fe37e Refs #30897 -- Made cosmetic edits to QuerySet.explain() documentation. 2019-10-24 15:16:25 +02:00
Nick Pope
55df1750be Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on MariaDB and MySQL 8.0.18+. 2019-10-24 15:13:26 +02:00
Nick Pope
742961332e Refs #30897 -- Added support for TREE format to Queryset.explain() on MySQL 8.0.16+. 2019-10-24 15:13:23 +02:00
Hannes Ljungberg
fa5f3291e7 Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering. 2019-10-24 09:33:14 +02:00
Mariusz Felisiak
2a54ce72f9 Added tblib to the list of test suite dependencies in documentation. 2019-10-23 15:26:04 +02:00
Mariusz Felisiak
e10ebf43e1
Bumped minimum Pillow version to 6.2.0 in test requirements.
Pillow < 6.2.0 is vulnerable to CVE-2019-16865.
2019-10-23 15:07:06 +02:00
Antonio Dudarev
6c23b43655 Refs #13724 -- Corrected QuerySet signature in docs. 2019-10-22 14:23:21 +02:00
André Ericson
3120490912 Fixed #30876 -- Moved classproperty() decorator to the django.utils.functional. 2019-10-21 09:57:39 +02:00
André Ericson
31174031f1 Fixed #30841 -- Deprecated using non-boolean values for isnull lookup. 2019-10-21 08:44:20 +02:00
Pavel Savchenko
1711c509fa Fixed #27391 -- Implemented SimpleTestCase.debug().
debug() should bubbled up exceptions if occurring in test, but behave
the same as run() when no exceptions occurred.
2019-10-18 12:22:51 +02:00
Mariusz Felisiak
3a8af298b9 Fixed #30890 -- Added MariaDB support for the relate lookup. 2019-10-18 07:46:31 +02:00
sage
6f82df69ef Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mixins. 2019-10-17 12:30:29 +02:00
Mariusz Felisiak
187a64608d Fixed #30885 -- Dropped support for MariaDB 10.1. 2019-10-16 18:40:48 +02:00
Mariusz Felisiak
1c5ec221a4 Fixed #30562 -- Doc'd MariaDB support for GIS spatial lookups. 2019-10-16 16:33:43 +02:00
Mariusz Felisiak
440603a4bc
Refs #28436 -- Corrected docs regarding MySQL support of distance lookups. 2019-10-16 14:39:13 +02:00
Mariusz Felisiak
5becb36a79
Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
Support was added in 15715bf.
2019-10-16 13:56:23 +02:00
Carlton Gibson
adfd920cc5 Moved "Sign the CLA" to the bottom of New Contributor First Steps.
As discussed on the mailing list, step 1 of First Steps shouldn't be
"Find a printer".

https://groups.google.com/d/topic/django-developers/owOqFmxufgs/discussion
2019-10-15 14:10:35 +02:00
Ad Timmering
dee687e93a Fixed #30816 -- Doc'd how to create projects with a local copy of Django. 2019-10-15 12:38:40 +02:00
Graham Healy
90abdba086 Fixed #30808 -- Added the Django Forum to contributing index. 2019-10-15 08:32:37 +02:00
Simon Charette
35396a7f24 Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
This is not true since 7f51876 removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
2019-10-14 12:51:07 +02:00