Ian Foote
c226c6cb32
Fixed #20581 -- Added support for deferrable unique constraints.
2020-04-30 10:43:50 +02:00
François Freitag
9ef4a18dbe
Changed django.forms.ValidationError imports to django.core.exceptions.ValidationError.
...
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-04-28 10:49:00 +02:00
Mariusz Felisiak
b28be08cac
Fixed broken links in docs.
2020-04-28 10:09:45 +02:00
Hasan Ramezani
d6db186427
Fixed #31514 -- Fixed default form widgets in model fields docs.
2020-04-25 21:20:29 +02:00
Tim Schilling
a92cc84b4a
Refs #31369 -- Deprecated models.NullBooleanField in favor of BooleanField(null=True).
2020-04-24 10:10:45 +02:00
Tim Schilling
34a69c2458
Corrected outputting BooleanField as HTML in forms docs.
2020-04-24 09:08:05 +02:00
David Smith
e0757c49ac
Updated template language philosophy in DTL docs.
2020-04-23 20:42:55 +02:00
Jon Dufresne
faa08449dd
Fixed broken link to Watchmen configuration in docs/ref/django-admin.txt.
2020-04-23 18:33:32 +02:00
Jon Dufresne
505fec6bad
Capitalized Unicode in docs, strings, and comments.
2020-04-20 12:10:33 +02:00
David Smith
2014319159
Updated iTunes podcast format link in syndication docs.
2020-04-20 08:10:13 +02:00
Jon Dufresne
fb21625270
Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.
...
The u-prefixed variants were removed from the documentation in
6eb4996672
.
2020-04-20 07:57:24 +02:00
Nick Pope
058b38b43e
Improved message example in admin actions documentation.
...
Avoid partial string construction and make use of ``ngettext`` to show
example of how to handle plural variants with translations. Also make
use of ``messages.SUCCESS`` to highlight customizing the style of the
message - in this case it better fits what the message is conveying.
2020-04-16 11:26:33 +02:00
Mariusz Felisiak
f1a808a502
Used :rfc: role in various docs.
2020-04-15 18:31:30 +02:00
Mariusz Felisiak
fc0b48d2e7
Fixed typo in docs/ref/templates/builtins.txt.
2020-04-15 10:41:19 +02:00
Adam Johnson
5b884d45ac
Fixed #29501 -- Allowed dbshell to pass options to underlying tool.
2020-04-14 14:02:51 +01:00
Sergey Fedoseev
b9e2355eb0
Fixed #31196 -- Added support for PostGIS 3.
2020-04-14 13:19:59 +02:00
Claude Paroz
a6b4c07b6e
Refs #31196 -- Installed postgis_raster extension on PostGIS 3+.
2020-04-14 09:34:01 +02:00
Mariusz Felisiak
cc70a0343e
Fixed term warning on Sphinx 3.0.1+.
...
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-14 09:32:09 +02:00
Ichlasul Affan
53d229ff63
Fixed #31351 -- Added system checks for partial indexes and unique constraints support.
2020-04-10 12:00:27 +02:00
David Smith
734fde7714
Refs #10427 -- Corrected BoundField.css_classes() signature in docs.
2020-04-10 07:37:54 +02:00
David Smith
a350bfa6f4
Fixed #13009 -- Added BoundField.widget_type property.
2020-04-10 07:11:14 +02:00
Shrikrishna Singh
ab903fe304
Mentioned non_field_errors in form validation docs.
2020-04-09 12:37:36 +02:00
miigotu
210657b791
Fixed #28184 -- Allowed using a callable for FileField and ImageField storage.
2020-04-08 11:26:17 +02:00
Mariusz Felisiak
678f958ef9
Fixed highlightlang deprecation warning on Sphinx 1.8+.
2020-04-07 09:48:52 +02:00
Mariusz Felisiak
69e2cd6fed
Fixed Sphinx warnings on duplicate object descriptions.
2020-04-07 09:48:52 +02:00
Carlton Gibson
b1f88476db
Corrected docs spelling of PgBouncer.
2020-04-01 14:55:11 +02:00
Adam Johnson
1cdfe8d912
Prevented (and corrected) single backtick usage in docs.
2020-04-01 14:55:11 +02:00
hashlash
4a6f2b63d7
Fixed #31380 -- Added deployment system check for DJANGO_ALLOW_ASYNC_UNSAFE environment variable.
2020-04-01 12:51:11 +02:00
Adam Johnson
e9b014fbc5
Refs #31320 -- Warned against using BEGIN/COMMIT in RunSQL.
2020-04-01 10:58:41 +02:00
Deep Sukhwani
4b146e0c83
Fixed #30864 -- Doc'd classproperty decorator.
2020-03-31 10:46:48 +02:00
Adam Johnson
93ed71e058
Fixed #31403 -- Added support for returning fields from INSERT statements on MariaDB 10.5+.
2020-03-31 07:25:50 +02:00
Hasan Ramezani
bec4dea844
Fixed #31400 -- Doc'd the expected type of CONN_MAX_AGE database option.
2020-03-27 06:32:42 +01:00
Gordon Pendleton
d0da2820ca
Fixed #31402 -- Added migrate --check option.
...
Command exits with non-zero status if unapplied migrations exist.
2020-03-26 20:12:39 +01:00
Carlton Gibson
8f2a6c76d1
Fixed #31330 -- Corrected catchall URL pattern in flatpages docs.
...
Use re_path() pattern with the regex used before original regression in
df41b5a05d
.
Regression in a0916d7212
.
2020-03-26 08:57:02 +01:00
Adam Johnson
b15b3706fe
Improved docs on migration reversibility. ( #12619 )
...
- Clarify reversibility for RunSQL and RunPython operations.
- Add example for migrate with irreversible migration.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-03-25 14:37:54 +01:00
David Smith
27746ab28a
Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names.
2020-03-24 20:05:18 +01:00
Tim Graham
291539a85c
Removed obsolete references to South database migrations.
2020-03-23 11:55:58 +01:00
Hannes Ljungberg
0b51a4f894
Fixed #28194 -- Added support for normalization and cover density to SearchRank.
2020-03-23 11:00:55 +01:00
Adam Johnson
4ed534758c
Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context.
2020-03-23 08:11:14 +01:00
Hasan Ramezani
53b6a466d8
Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().
...
Thanks Simon Charette for the review and Mariusz Felisiak for tests.
2020-03-20 12:55:33 +01:00
Rohit
2695ac8e04
Fixed #31144 -- Relaxed system check for max_length of CharFields on MySQL/MariaDB by turning into a warning.
2020-03-20 12:28:10 +01:00
gowthamk63
142ab6846a
Fixed #31123 -- Added --include-stale-apps option to the remove_stale_contenttypes management command.
...
Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com>
2020-03-19 11:48:10 +01:00
Mariusz Felisiak
6e026aec5f
Refs #29548 -- Mentioned MariaDB in database system checks.
2020-03-19 09:42:04 +01:00
Andrew Godwin
fc0fa72ff4
Fixed #31224 -- Added support for asynchronous views and middleware.
...
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.
2020-03-18 19:59:12 +01:00
Hasan Ramezani
6929f13254
Fixed #31368 -- Doc'd 'expression' parameter of Field.from_db_value()/Expression.convert_value().
2020-03-18 09:37:05 +01:00
Ryan Petrello
5f8495a40a
Fixed #31371 -- Increased User.first_name max_length to 150 characters.
2020-03-18 08:22:49 +01:00
Baptiste Mispelon
3baf92cf82
Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.
2020-03-16 10:27:23 +01:00
jay20162016
924c01ba09
Fixed #31363 -- Added support for negative integers to intword template filter.
2020-03-16 08:44:43 +01:00
David Smith
7075d27b0c
Fixed #31362 -- Removed nonexistent choices attribute from MultipleHiddenInput's docs.
...
Follow up to 65c13f9675
.
2020-03-14 20:21:04 +01:00
Hasan Ramezani
a0916d7212
Fixed #31330 -- Updated flatpages URLconf example to work with APPEND_SLASH.
...
Regression in df41b5a05d
.
2020-03-14 20:08:53 +01:00
Andrew Godwin
40a64dd1e2
Refs #31224 -- Doc'd async adapter functions.
2020-03-13 07:13:44 +01:00
David Smith
ccf32aca44
Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a error message key.
2020-03-12 09:36:01 +01:00
Adam Johnson
a9ee6872bd
Clarified SeparateDatabaseAndState docs and added example of changing ManyToManyField.
...
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Carlton Gibson <carlton.gibson@noumenal.es>
Co-Authored-By: René Fleschenberg <rene@fleschenberg.net>
2020-03-10 11:07:36 +01:00
Mariusz Felisiak
5e17301f38
Corrected learn_cache_key() signature in docs.
...
Follow up to b22415214a
.
2020-03-10 08:54:45 +01:00
Борис Верховский
d82d2d49d6
Corrected get_cache_key() signature in docs.
...
Follow up to b22415214a
and
cb17f7ca22
2020-03-10 08:12:32 +01:00
Adam Johnson
8c1b073b59
Doc'd return values of as_sql() for Func and query expressions.
2020-03-06 13:02:08 +01:00
Mariusz Felisiak
30ca66eadd
Added missing backticks in various docs.
2020-03-06 11:52:49 +01:00
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
Jon Dufresne
e703b93a65
Fixed #31080 -- Removed redundant type="text/javascript" attribute from <script> tags.
2019-12-11 09:49:54 +01:00
Baptiste Mispelon
9e565386d3
Fixed #27430 -- Added -b/--buffer option to DiscoverRunner.
2019-12-09 13:47:12 +01:00
Jon Dufresne
5708327c37
Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin.
...
Unify on the entry point created by setuptools entry_points feature.
2019-12-06 12:11:44 +01:00
Hasan Ramezani
5d674eac87
Fixed #31039 -- Added support for contained_by lookup with AutoFields, SmallIntegerField, and DecimalField.
2019-12-05 15:50:39 +01:00
Gordon Pendleton
adb9661789
Fixed #31010 -- Allowed subdomains of localhost in the Host header by default when DEBUG=True.
2019-12-05 09:44:45 +01:00
Mariusz Felisiak
3930ec1bf2
Fixed #31062 -- Doc'd asgi.py in tutorials and project templates.
2019-12-05 08:38:39 +01:00
Aymeric Augustin
c06492dd87
Fixed #23524 -- Allowed DATABASES['TIME_ZONE'] option on PostgreSQL.
2019-12-04 18:22:08 +01:00
Uttam Kini
d646e3d14f
Fixed #31024 -- Clarified {% firstof %} tag's handling of arguments.
2019-12-04 13:41:29 +01:00
Baptiste Mispelon
26cab4e8c1
Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept callable values in through_defaults.
2019-12-03 19:47:38 +01:00
Ryan Cheley
a1f14ee3e5
Fixed #31006 -- Doc'd backslash escaping in date/time template filters.
2019-12-02 13:07:38 +01:00
Mariusz Felisiak
0107e3d105
Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
...
Thanks Abhijeet Viswa for the report and initial patch.
2019-12-02 07:57:19 +01:00
Baptiste Mispelon
ff1b19da67
Fixed #31029 -- Used more specific links to RFCs.
2019-11-27 20:54:38 +01:00
Farhaan Bukhsh
1f817daa20
Fixed #30803 -- Allowed comma separators for milliseconds in django.utils.dateparse functions.
...
Co-Authored-By: Ben Wilber <benwilber@gmail.com>
2019-11-27 09:43:12 +01:00
Farhaan Bukhsh
42b23d1e79
Refs #30803 -- Allowed comma separators for decimal fractions in parse_duration().
2019-11-27 09:43:12 +01:00
Adam Johnson
7742cc0c8f
Improved custom MultiWidget example in docs.
2019-11-26 18:11:00 +01:00
Sergey Fedoseev
5573a54d40
Updated link to IBM DB2 backend.
...
See https://github.com/ibmdb/python-ibmdb/pull/375
2019-11-25 20:59:42 +01:00
Sergey Fedoseev
85c5989007
Doc'd SpatiaLite support of 3D geometry fields.
...
Support was added in 65129aac07
.
2019-11-25 09:29:50 +01:00
Jon Dufresne
a69c4d626a
Refs #25388 -- Corrected value of TEST MIGRATE setting in MIGRATION_MODULES docs.
2019-11-25 08:42:35 +01:00
Baptiste Mispelon
9f1ec9efc3
Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
2019-11-25 08:12:50 +01:00
Sergey Fedoseev
a5855c8f0f
Fixed #30996 -- Added AsWKB and AsWKT GIS functions.
2019-11-22 13:40:48 +01:00
Simon Charette
e9a0e1d4f6
Fixed #30484 -- Added conditional expressions support to CheckConstraint.
2019-11-21 11:56:35 +01:00
Jon Dufresne
f5ebdfce5c
Fixed #25388 -- Added an option to allow disabling of migrations during test database creation.
2019-11-20 20:42:38 +01:00
Daniel Izquierdo
89abecc75d
Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deletions while protecting direct ones.
2019-11-19 10:55:05 +01:00
Caio Ariede
555bebe774
Fixed #30987 -- Added models.PositiveBigIntegerField.
2019-11-19 09:34:11 +01:00
Sergey Fedoseev
f95b59a1b3
Fixed #30994 -- Added Oracle support for AsGeoJSON GIS function.
2019-11-18 15:32:44 +01:00
Baptiste Mispelon
1185c6172b
Fixed #30990 -- Fixed example output in 'z' date format docs.
2019-11-18 11:30:20 +01:00
Dulmandakh
24b9f50823
Fixed #29916 -- Added lower_inc, lower_inf, upper_inc, and upper_inf lookups for RangeFields.
...
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-11-14 22:27:29 +01:00
Hasan Ramezani
2282d9f2e5
Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
2019-11-11 11:48:16 +01:00
Farhaan Bukhsh
4cb15450ad
Fixed #30958 -- Used a clearer example in the Cast() docs.
2019-11-11 09:42:53 +01:00
Jon Dufresne
eee4da3b57
Refs #30948 -- Updated install instructions to use pip instead of setup.py.
...
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
2019-11-08 13:26:35 +01:00
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
Mariusz Felisiak
28e769dfe6
Fixed typo in docs/ref/settings.txt.
2019-09-23 08:17:58 +02:00
Luke Plant
45304e444e
Refs #28622 -- Clarified security implications of PASSWORD_RESET_TIMEOUT.
2019-09-20 13:53:01 +02:00
Hasan Ramezani
226ebb1729
Fixed #28622 -- Allowed specifying password reset link expiration in seconds and deprecated PASSWORD_RESET_TIMEOUT_DAYS.
2019-09-20 13:52:04 +02:00
Carlton Gibson
bae05bcf68
Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
...
Thank you to Mariusz Felisiak for review.
2019-09-19 11:34:59 +02:00
Claude Paroz
b8dff52f44
Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
2019-09-14 17:10:08 +02:00
Ben Falk
4056558a1c
Fixed typos in docs/ref/settings.txt.
2019-09-13 20:36:35 +02:00
Nick Pope
1c66767d4e
Refs #27910 -- Improved documentation for model field choice enumeration types.
2019-09-13 15:37:40 +02:00
Mariusz Felisiak
0ddb4ebf7b
Refs #14357 -- Made Meta.ordering not affect GROUP BY queries.
...
Per deprecation timeline.
2019-09-10 12:01:00 +02:00
Mariusz Felisiak
f1894bae30
Refs #28606 -- Removed CachedStaticFilesStorage per deprecation timeline.
2019-09-10 12:01:00 +02:00
Mariusz Felisiak
cb2be9d5d5
Refs #29546 -- Removed django.utils.timezone.FixedOffset per deprecation timeline.
2019-09-10 12:01:00 +02:00
Mariusz Felisiak
3d716467a9
Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline.
2019-09-10 12:01:00 +02:00
Mariusz Felisiak
b47bb4c4a7
Refs #29598 -- Removed FloatRangeField per deprecation timeline.
2019-09-10 12:01:00 +02:00
Mariusz Felisiak
416c584cab
Removed versionadded/changed annotations for 2.2.
2019-09-10 12:01:00 +02:00