David Sanders
da02cbd1ef
Clarified how to reference RelatedObjectDoesNotExist exceptions.
2022-10-01 16:42:10 +02:00
Jacob Walls
80d38de52b
Fixed #34051 -- Made makemigrations --check exit before making migrations.
2022-09-28 09:48:07 +02:00
Mariusz Felisiak
5d36a8266c
Changed note about update_fields and pre_save() to admonition.
...
Follow up to bf47c71971
.
2022-09-28 09:26:10 +02:00
sarahboyce
bf47c71971
Doc'd when pre_save() is called with Model.save()'s update_fields.
2022-09-27 13:46:44 +02:00
Ferran Jovell
6619baab9b
Fixed #34018 -- Fixed typo in docs/ref/contrib/flatpages.txt.
2022-09-16 15:12:45 +02:00
David Sanders
e14d08cd89
Fixed #33996 -- Fixed CheckConstraint validation on NULL values.
...
Bug in 667105877e
.
Thanks James Beith for the report.
2022-09-13 12:48:31 +02:00
Shai Berger
42cd8c390d
Fixed #33986 -- Hardened binary lookup in template commands.
...
Made template commands look up formatters before writing files.
This makes sure files included in the template are not identified
as executable formatter commands, even in case the template is
rendered into the system path (as might easily happen on Windows,
where the current directory is on the system path by default).
While at it, Warned about trusting custom templates for
startapp/startproject.
Thanks Trung Pham of Viettel Cyber Security for reporting the issue,
Django Security Team for discussions, and Adam Johnson and
Carlton Gibson for reviews.
2022-09-07 11:08:43 +02:00
Mariusz Felisiak
753602d0c6
Corrected heading level of "Registering and fetching lookups" section in docs.
2022-09-04 14:32:24 +02:00
Allen Jonathan David
cd1afd553f
Fixed #29799 -- Allowed registering lookups per field instances.
...
Thanks Simon Charette and Mariusz Felisiak for reviews and mentoring
this Google Summer of Code 2022 project.
2022-09-02 10:02:24 +02:00
Mariusz Felisiak
cb06f5ef8c
Reverted "Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform()."
...
This reverts commit 7faf25d682
. The same
can be achieved with F() so there is no need to expose an extra API.
2022-08-31 22:12:30 +02:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
Ilia Peterov
0010721e89
Improved example of index on SearchVector in full text search docs.
2022-08-29 19:28:00 +02:00
Mariusz Felisiak
081871bc20
Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
...
Follow up to 2eea361eff
.
2022-08-26 21:42:44 +02:00
Kanza
5f5401b114
Fixed #33920 -- Doc'd dependency of LOGGING_CONFIG callback on non-empty LOGGING.
2022-08-24 11:38:43 +02:00
Tom Carrick
d46cc15c51
Fixed #33878 -- Switched to system fonts in CSS.
2022-08-17 10:19:00 +02:00
Simon Charette
f387d024fc
Refs #28333 -- Added partial support for filtering against window functions.
...
Adds support for joint predicates against window annotations through
subquery wrapping while maintaining errors for disjointed filter
attempts.
The "qualify" wording was used to refer to predicates against window
annotations as it's the name of a specialized Snowflake extension to
SQL that is to window functions what HAVING is to aggregates.
While not complete the implementation should cover most of the common
use cases for filtering against window functions without requiring
the complex subquery pushdown and predicate re-aliasing machinery to
deal with disjointed predicates against columns, aggregates, and window
functions.
A complete disjointed filtering implementation should likely be
deferred until proper QUALIFY support lands or the ORM gains a proper
subquery pushdown interface.
2022-08-15 08:26:26 +02:00
Claude Paroz
4fcba800b8
Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.
2022-08-12 13:26:35 +02:00
Jarosław Wygoda
9e7cb27a5b
Refs #26029 -- Doc'd django.core.files.storage.default_storage.
2022-08-10 12:23:13 +02:00
Ramil Yanbulatov
cccfb45d00
Refs #33842 -- Removed incorrect :file: role in contrib docs.
...
The file role is not appropriate for URLs and URL path-components.
2022-08-09 14:51:59 +02:00
Ramil Yanbulatov
c6290bae9d
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
2022-08-09 14:44:51 +02:00
Mariusz Felisiak
00370342ca
Fixed typo in docs/ref/forms/renderers.txt.
...
Thanks Josh for the report.
2022-08-06 13:43:16 +02:00
Mariusz Felisiak
cb791a2540
Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
2022-08-03 11:42:51 +02:00
Carlton Gibson
5028a02352
Doc'd TextField.db_collation as optional.
...
Matches CharField.db_collation docs.
Thanks to Paolo Melchiorre for the report.
2022-08-02 15:16:42 +02:00
Claude Paroz
1e5bbbb2a8
Fixed #33442 -- Allowed GeoIP2 to use DB-IP Lite datasets.
2022-07-30 19:29:45 +02:00
Mariusz Felisiak
e20e5d1557
Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
...
Thanks Johnny Metz for the report.
Regression in 71ec102b01
.
2022-07-26 20:21:27 +02:00
Mariusz Felisiak
7e3c9c3205
Refs #27236 -- Doc'd that AlterIndexTogether is no longer officially supported for Django 4.2+ migration files.
2022-07-26 11:42:54 +02:00
Mariusz Felisiak
a1e9e9abc5
Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations."
...
This reverts commit 41019e48bb
.
2022-07-26 11:41:19 +02:00
Mariusz Felisiak
c773d5794e
Refs #27236 -- Reverted AlterIndexTogether deprecation.
...
This partly reverts a6385b382e
.
2022-07-26 11:41:19 +02:00
Claude Paroz
2d23a07817
Fixed #33866 -- Added pathlib.Path support to GDALRaster constructor.
2022-07-25 20:48:33 +02:00
Claude Paroz
a46dfa87d0
Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.
2022-07-23 16:12:01 +02:00
Nick Pope
4d4bf55e0e
Fixed #33864 -- Deprecated length_is template filter.
2022-07-23 12:36:21 +02:00
Victor
2fac0a1808
Fixed #33317 -- Added note about unconditional evaluation of {% block %} tags.
2022-07-22 10:09:29 +02:00
Mariusz Felisiak
e59d1ff562
Fixed #33850 -- Confirmed support for GEOS 3.11.
2022-07-18 20:03:26 +02:00
Alokik Vijay
7faf25d682
Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform().
2022-07-13 10:56:46 +02:00
David Wobrock
a6385b382e
Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.
...
This also deprecates AlterIndexTogether migration operation.
2022-07-12 09:04:31 +02:00
Mariusz Felisiak
eb3699ea77
Fixed #33718 -- Dropped support for MySQL 5.7.
2022-07-08 13:30:12 +02:00
David Wobrock
41019e48bb
Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations.
2022-07-08 07:05:55 +02:00
Hrushikesh Vaidya
72e41a0df6
Fixed #33779 -- Allowed customizing encoder class in django.utils.html.json_script().
2022-06-28 10:54:38 +02:00
Hrushikesh Vaidya
0ee03a439b
Refs #33779 -- Doc'd django.utils.html.json_script().
2022-06-28 10:51:46 +02:00
Ian Wootten
6f63e0ce8e
Fixed #33804 -- Corrected GinIndex.gin_pending_list_limit description in docs.
2022-06-24 14:52:21 +02:00
Matt Brewer
8d160f154f
Fixed #33788 -- Added TrigramStrictWordSimilarity() and TrigramStrictWordDistance() on PostgreSQL.
2022-06-17 11:14:30 +02:00
David Wobrock
e286ce17ff
Fixed #24870 -- Added --update option to makemigrations command.
2022-06-17 07:50:39 +02:00
Mariusz Felisiak
759ff4862a
Fixed #33786 -- Confirmed support for GDAL 3.5.
2022-06-16 09:44:19 +02:00
Sfurti-yb
860643e12e
Added YugabyteDB to list of third-party DB backends.
2022-06-16 07:58:11 +02:00
Swann
d0863429a3
Fixed documentation of Widget.id_for_label() empty return value.
2022-06-03 12:19:47 +02:00
Samir Shah
6f73eb9d90
Fixed #33742 -- Added id to GeoJSON serializer.
2022-06-01 19:11:26 +02:00
Mariusz Felisiak
ac90529cc5
Fixed docs build with sphinxcontrib-spelling 7.5.0+.
...
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.
2022-05-31 11:17:01 +02:00
Hasan Ramezani
ce69e34bd6
Unified AdminSite imports in docs.
2022-05-25 13:13:28 +02:00
Mariusz Felisiak
90aabd730a
Fixed #33724 -- Doc'd exclude argument changes in model validation.
...
Thanks אורי for the report.
Follow up to 1ea7e3157d
.
2022-05-24 10:02:53 +02:00
Burak Kadir Er
1be9585d73
Fixed #33721 -- Added DE-9IM link in GEOS docs.
2022-05-20 16:47:10 +02:00