| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
docs.
|
|
This adds a `lint.py` script to run sphinx-lint on Django's docs files,
a mathing `lint` target in the `docs/Makefile` and `docs/make.bat`, and
updates `docs/requirements.txt` accordingly.
|
|
favor of hmac.compare_digest().
Signed-off-by: SaJH <wogur981208@gmail.com>
|
|
Signed-off-by: SaJH <wogur981208@gmail.com>
|
|
Obsolete since 41384812efe209c8295a50d78b45e0ffb2992436.
(six was removed in 9285926295fbfc86b70e7be8d595d4cfbe7895b8.)
|
|
Determining if a field is db_returning based on the default connection
feature availability prevents the usage of RETURNING for db_default
fields in setups where non-default backends do support RETURNING.
Whether or not the field should be attempted to be returned is already
checked at the compiler level which is backend aware.
|
|
Follow up to ceecd518b19044181a3598c55ebed7c2545963cc.
|
|
admin pagination.
Regression in 3f59711581bd22ebd0f13fb040b15b69c0eee21f.
|
|
django/forms/models.py.
|
|
When running the `bulk_create` tests with Postgres settings and
`--reverse`, the following IntegrityError was raised in
bulk_create.tests.BulkCreateTransactionTests.test_objs_with_and_without_pk:
django.db.utils.IntegrityError: duplicate key value violates unique
constraint "bulk_create_country_pkey"
DETAIL: Key (id)=(1) already exists.
This branch fixes this by ensuring the ID is unique since DB sequences
are not resetted between tests.
|
|
Regression in 3f59711581bd22ebd0f13fb040b15b69c0eee21f.
|
|
ASGIRequest.
Signed-off-by: SaJH <wogur981208@gmail.com>
|
|
Cache-Control 'no-cache' or 'no-store'.
|
|
QuerySet.in_bulk().
|
|
operations on SQLite.
|
|
TIGER driver was removed in GDAL 3.11.
https://github.com/OSGeo/gdal/commit/eb793be0395ccba50e053a46b30cb90deb530990
|
|
In alogout(), there is no need to check the is_authenticated attribute
when user is None.
In aget_user(), there is no need to call get_session_auth_hash() twice.
Follow up to 50f89ae850f6b4e35819fe725a08c7e579bfd099.
|
|
contrib.auth.aupdate_session_auth_hash().
|
|
|
|
|
|
|
|
|
|
docs/ref/contrib/gis/forms-api.txt.
|
|
Regression in 792ca148a2d6da6cf0778f6a866c899208ab94f9.
|
|
Since 142ab6846ac09d6d401e26fc8b6b988a583ac0f5
get_contenttypes_and_models() function was only used in this module and
we only needed the model names, not the content type objects themselves.
|
|
Asserting an upper bound for the number of executed queries can be achieved by
using CaptureQueriesContext instead of enabling the whole DEBUG machinery.
|
|
Whether or not returning_fields should be specified to _insert is not a
function of each batches so the conditional can be moved outside of the loop.
|
|
When dealing with an heterogeneous set of object with regards to primary key
assignment that fits in a single batch there's no need to wrap the single
INSERT statement in a transaction.
|
|
Language.
Introduced `{% partialdef %}` and `{% partial %}` template tags to
define and render reusable named fragments within a template file.
Partials can also be accessed using the `template_name#partial_name`
syntax via `get_template()`, `render()`, `{% include %}`, and other
template-loading tools.
Adjusted `get_template()` behavior to support partial resolution, with
appropriate error handling for invalid names and edge cases. Introduced
`PartialTemplate` to encapsulate partial rendering behavior.
Includes tests and internal refactors to support partial context
binding, exception reporting, and tag validation.
Co-authored-by: Carlton Gibson <carlton@noumenal.es>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
|
|
|
|
FilteredSelectMultiple widget.
|
|
following Python's HTMLParser new behavior.
Python fixed a quadratic complexity processing for HTMLParser in:
https://github.com/python/cpython/commit/6eb6c5db.
|
|
HTMLParser fixed parsing.
Further details about Python changes can be found in:
https://github.com/python/cpython/commit/0243f97cbadec8d985e63b1daec5d1cbc850cae3.
Thank you Clifford Gama for the thorough review!
|
|
makemessages.
|
|
OneToOneField uses the type of the related field.
|
|
pks.
Follow-up to fd569dd45bf0746378faf7f65172497f21ed27f0.
|
|
Subquery.resolve_expression().
Regression in fd569dd45bf0746378faf7f65172497f21ed27f0.
|
|
|
|
This change renames the `docs` job to `spelling` to better reflect its
purpose. It also removes the unused `--keep-going` flag, since starting
with Sphinx 8.1, `--keep-going` is enabled by default.
See:
https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going
|
|
--clear's default verbosity.
|
|
contrib.auth.alogout().
|
|
|
|
against composite pks.
Follow-up to 8561100425876bde3be4b2a22324655f74ff9609.
Co-authored-by: Simon Charette <charette.s@gmail.com>
|
|
|
|
|
|
|
|
Added a new 'check' rule to the docs Makefile which runs both the black
and spelling checks.
|