Hannes Ljungberg
65ab4f9f03
Fixed #31147 -- Added SearchHeadline to django.contrib.postgres.
2020-03-03 15:39:52 +01:00
Adam Johnson
3bd29a8a97
Documented default value of InlineModelAdmin.extra.
2020-03-03 09:05:27 +01:00
Mariusz Felisiak
a49c2b6bf0
Removed outdated note about not supporting partial indexes by Django.
...
Supported since a906c98982
.
2020-02-29 20:35:11 +01:00
Valze
5bf28ac2ed
Fixed #31185 -- Fixed detecting of unique fields in ForeignKey/ForeignObject checks when using Meta.constraints.
2020-02-27 10:53:29 +01:00
Andrey Doroschenko
f1016814d8
Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.
2020-02-27 08:33:05 +01:00
Mariusz Felisiak
667f784baa
Removed hint from fields.E310 message in system check docs.
...
This is the only documented hint.
2020-02-26 12:00:52 +01:00
Ram Rachum
5b09354954
Fixed #31291 -- Renamed salt to mask for CSRF tokens.
2020-02-25 14:16:19 +01:00
Carlton Gibson
3bbf9a489a
Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.
2020-02-18 19:54:29 +01:00
Keshav Kumar
f37d548ede
Fixed #20995 -- Added support for iterables of template names to {% include %} template tag.
...
Thanks Adam Johnson for the review.
2020-02-18 06:56:05 +01:00
Xavier Francisco
8690878507
Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table collision when database routers are installed.
...
Turned the error into a warning when database routers are installed.
2020-02-17 13:53:45 +01:00
Hasan Ramezani
2ab97af352
Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.
2020-02-14 08:30:16 +01:00
Florian Apolloner
549445519c
Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like object."
...
This reverts commit cce47ff65a
.
2020-02-11 20:39:12 +01:00
Adam Johnson
382af9b141
Fixed #31003 -- Doc'd and tested return value of QuerySet.bulk_create().
2020-02-10 08:36:50 +01:00
Simon Charette
0b83c8cc4d
Refs #31055 -- Added --database option to the check management command.
...
This avoids enabling the ``database`` checks unless they are explicitly
requested and allows to disable on a per-alias basis which is required
when only creating a subset of the test databases.
This also removes unnecessary BaseCommand._run_checks() hook.
2020-02-07 11:01:31 +01:00
Adam Johnson
72b97a5b1e
Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.
2020-02-05 14:39:01 +01:00
Abhijeet
a45c8d7ad0
Fixed #31126 -- Doc'd STATICFILES_DIRS namespacing in static files how-to.
2020-01-29 10:34:34 +01:00
Mariusz Felisiak
5978de2ec0
Updated the GeoJSON format specification link to RFC 7946.
2020-01-29 09:35:18 +01:00
Mariusz Felisiak
0ac8ac8b0d
Refs #25778 -- Updated some links to HTTPS and new locations.
2020-01-29 09:34:37 +01:00
Jon Dufresne
958977f662
Fixed #31212 -- Updated psycopg links to HTTPS and new location.
2020-01-29 06:25:40 +01:00
Claude Paroz
e348ab0d43
Fixed #30997 -- Deprecated HttpRequest.is_ajax().
2020-01-27 08:54:32 +01:00
Claude Paroz
d66d72f956
Refs #30997 -- Added HttpRequest.accepts().
2020-01-24 14:24:59 +01:00
Michael Mulholland
5a68a223c7
Fixed #31200 -- Added system checks for permissions codenames max length.
2020-01-23 12:22:59 +01:00
Adam Johnson
971a84d6af
Clarified AppConfig.ready() docs example.
2020-01-22 13:45:22 +01:00
Claude Paroz
c7b97ac3a7
Added missing backtick in instances docs.
2020-01-17 20:26:36 +01:00
Carlton Gibson
56071826bb
Refs #30752 -- Doc'd error reporting related optional request attributes.
2020-01-17 15:11:43 +01:00
Pavel Lysak
13e4abf83e
Fixed #30752 -- Allowed using ExceptionReporter subclasses in error reports.
2020-01-16 15:25:49 +01:00
Carlton Gibson
29c126bb34
Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices.
...
Regression in 2d38eb0ab9
2020-01-15 15:35:22 +01:00
Daniel Hahler
20debf01bd
Fixed typo in docs/ref/django-admin.txt.
2020-01-13 12:39:14 +01:00
Adam Donaghy
8b3e714ecf
Fixed #30980 -- Improved error message when checking uniqueness of admin actions' __name__.
...
Thanks Keshav Kumar for the initial patch.
2020-01-10 14:00:28 +01:00
Shubham singh
ffcf1a8ebf
Fixed #31118 -- Made FileInput to avoid the required attribute when initial data exists.
2020-01-08 09:15:31 +01:00
Claude Paroz
188b003014
Fixed #15982 -- Added DATE_INPUT_FORMATS to forms.DateTimeField default input formats.
2020-01-07 11:08:40 +01:00
Claude Paroz
1487f16f2d
Fixed #11385 -- Made forms.DateTimeField accept ISO 8601 date inputs.
...
Thanks José Padilla for the initial patch, and Carlton Gibson for the
review.
2020-01-06 10:52:09 +01:00
Claude Paroz
b23fb2c819
Corrected notes about default date/datetime/time input formats.
2020-01-06 09:44:12 +01:00
Federico Jaramillo Martínez
372eaa395f
Fixed #28991 -- Added EmptyFieldListFilter class in admin.filters.
...
Thanks Simon Charette and Carlton Gibson for reviews.
Co-Authored-By: Jonas Haag <jonas@lophus.org>
Co-Authored-By: Christophe Baldy <christophe.baldy@polyconseil.fr>
2020-01-03 07:58:04 +01:00
Mariusz Felisiak
ef1286e3e3
Fixed typo in ref/forms/widgets.txt.
2020-01-02 07:46:29 +01:00
Sjbrgsn
b2bd08bb7a
Fixed #30892 -- Fixed slugify() and admin's URLify.js for "İ".
...
Thanks Luis Nell for the implementation idea and very detailed report.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-12-30 20:47:22 +01:00
Simon Charette
9e14bc2135
Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.
2019-12-30 07:49:10 +01:00
Jon Dufresne
5e00bd1f77
Removed unnecessary code-block directives in various docs.
2019-12-23 14:47:13 +01:00
Jon Dufresne
67ea35df52
Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ChoiceWidget.create_option().
2019-12-23 10:34:50 +01:00
Jon Dufresne
5da85ea737
Refs #30998 -- Doc'd ModelChoiceField/ModelMultipleChoiceField.iterator attributes and ModelChoiceIterator.
2019-12-23 10:08:59 +01:00
Taoup
cebd41e416
Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.
2019-12-21 20:33:04 +01:00
Garry Polley
d216e67b0c
Removed outdated information from contrib.sites docs.
2019-12-20 07:53:35 +01:00
Mike Hansen
d291c72bf2
Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.
2019-12-18 13:15:38 +01:00
Shubham singh
f4647179cc
Fixed #31086 -- Improved error message for admin model inlines with more than one foreign key to the same parent.
2019-12-17 09:15:01 +01:00
James Turk
ff00a05347
Fixed #31088 -- Added support for websearch searching in SearchQuery.
2019-12-16 14:59:59 +01:00
Jon Dufresne
3fe5d0128b
Rewrote CSRF JavaScript example without jQuery.
2019-12-12 16:34:03 +01:00
Osaetin Daniel
b33bfc3839
Fixed #30862 -- Allowed setting SameSite cookies flags to 'none'.
...
Thanks Florian Apolloner and Carlton Gibson for reviews.
2019-12-12 10:52:31 +01:00
Osaetin Daniel
14e690ae5a
Doc'd HttpResponse.set_cookie()'s secure argument.
2019-12-12 10:52:31 +01:00
Osaetin Daniel
15c5875e69
Refs #6657 -- Corrected HttpResponse.set_cookie()/set_signed_cookie() signatures in docs.
2019-12-12 10:52:31 +01:00
Hasan Ramezani
52018e1615
Fixed typos in 3.0 release notes and docs/ref/request-response.txt.
2019-12-12 10:19:09 +01:00