Hasan Ramezani
153c7956f8
Fixed #24858 -- Added support for get_FOO_display() to ArrayField and RangeFields.
...
_get_FIELD_display() crashed when Field.choices was unhashable.
2019-11-08 10:59:24 +01:00
Nick Pope
02983c5242
Fixed #30943 -- Added BloomIndex to django.contrib.postgres.
2019-11-07 11:23:53 +01:00
Jon Dufresne
26554cf5d1
Fixed #29983 -- Replaced os.path() with pathlib.Path in project template and docs.
...
Thanks Curtis Maloney for the original patch.
2019-11-07 11:11:27 +01:00
Farhaan Bukhsh
cc5622ec8c
Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
2019-11-07 08:04:40 +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
Jon Dufresne
c8debd5061
Added a link to the file email backend from EMAIL_FILE_PATH setting.
2019-11-06 08:24:49 +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
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
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
Hasan Ramezani
6315a272c5
Refs #28428 -- Made filepath_to_uri() support pathlib.Path.
2019-10-30 13:13:15 +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
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
Antonio Dudarev
6c23b43655
Refs #13724 -- Corrected QuerySet signature in docs.
2019-10-22 14:23:21 +02:00
André Ericson
31174031f1
Fixed #30841 -- Deprecated using non-boolean values for isnull lookup.
2019-10-21 08:44:20 +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
René Fleschenberg
d232fd76a8
Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
2019-10-11 15:30:33 +02:00
Flavio Curella
ed112fadc1
Fixed #23755 -- Added support for multiple field names in the no-cache Cache-Control directive to patch_cache_control().
...
https://tools.ietf.org/html/rfc7234#section-5.2.2.2
2019-10-10 19:30:51 +02:00
Caio Ariede
dafdfd6a60
Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
2019-10-08 12:11:06 +02:00
Caio Ariede
06909fe084
Fixed #28273 -- Doc'd fast nullable column creation with defaults.
2019-10-07 13:15:27 +02:00
Tamer Sherif
e3f647f4d5
Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
2019-10-07 10:38:08 +02:00
Katie McLaughlin
9dca904a5b
Fixed #30834 -- Added explicit list of supported databases to the databases docs.
2019-10-03 19:34:51 +02:00
Min ho Kim
103a6f4307
Fixed some typos in comments and docs.
...
Thanks to Mads Jenson for review.
2019-10-02 15:50:46 +02:00
Mar Sánchez
f1d4a540b2
Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
2019-10-02 14:39:01 +02:00
Carlton Gibson
9446950470
Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
2019-10-02 13:11:03 +02:00
Sjbrgsn
7b3c06cd72
Fixed #30817 -- Clarified return value of Sitemap.items().
2019-10-02 11:55:56 +02:00
Anatol Ulrich
8ed6788aa4
Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day lookup.
2019-10-02 10:41:34 +02:00
Mariusz Felisiak
e1aa932802
Added missing import in ref/models/database-functions.txt.
2019-10-02 09:58:14 +02:00
Tanner Stirrat
17595407ca
Fixed #14218 -- Added Paginator.__iter__().
2019-10-02 09:49:31 +02:00
David Vaz
e02f67ef2d
Doc'd that migrate commmand accepts a unique migration name prefix.
2019-09-30 09:24:11 +02:00
David Vaz
45554fd5c5
Fixed #30597 -- Clarified how to unapply migrations.
2019-09-27 21:25:27 +02:00
David Vaz
abba563c86
Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
2019-09-27 19:48:54 +02:00
Glenn
c2678e4975
Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
2019-09-27 09:27:33 +02:00
Oleg Kainov
c574bec092
Fixed #25598 -- Added SCRIPT_NAME prefix to STATIC_URL and MEDIA_URL set to relative paths.
...
Thanks Florian Apolloner for reviews.
Co-authored-by: Joel Dunham <Joel.Dunham@technicalsafetybc.ca>
2019-09-25 19:47:03 +02:00
Claude Paroz
d71497bb24
Refs #26601 -- Used new-style middlewares in documentation.
2019-09-24 09:58:17 +02:00
Jezeniel Zapanta
e8ad265ac8
Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
2019-09-23 15:09:37 +02:00
Mariusz Felisiak
343afa7880
Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
2019-09-23 08:24:00 +02:00