summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-14Refs #25916 -- Added tests for a callable lastmod on Sitemaps.David Smith
2021-10-14Used :source: role in docs/howto/custom-template-tags.txt.Mariusz Felisiak
2021-10-13Doc'd a precise exception type in Paginator.page() docs.Sih Sîng-hông薛丞宏
2021-10-13Refs #25265 -- Allowed Query subclasses to build filters.Erik Cederstrand
2021-10-12Bumped versions in pre-commit and npm configurations.Mariusz Felisiak
2021-10-12Fixed #29470 -- Logged makemigrations automatic decisions in non-interactive ↵Jacob Walls
mode.
2021-10-12Refs #29470 -- Added makemigrations test for adding fields with no default ↵Jacob Walls
and auto_now_add=True in non-interactive mode.
2021-10-12Added 'formatter' to spelling wordlist.Mariusz Felisiak
2021-10-12Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels.Ade Lee
md5 is not an approved algorithm in FIPS mode, and trying to instantiate a hashlib.md5() will fail when the system is running in FIPS mode. md5 is allowed when in a non-security context. There is a plan to add a keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether or not the instance is being used in a security context. In the case where it is not, the instantiation of md5 will be allowed. See https://bugs.python.org/issue9216 for more details. Some downstream python versions already support this parameter. To support these versions, a new encapsulation of md5() has been added. This encapsulation will pass through the usedforsecurity parameter in the case where the parameter is supported, and strip it if it is not. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-10-12Fixed #33178 -- Made createsuperuser validate required fields passed in ↵Christophe Henry
options in interactive mode.
2021-10-12Refs #33178 -- Added createsuperuser tests for validation of foreign keys.Christophe Henry
2021-10-12Refs #21755 -- Fixed createsuperuser crash for required foreign keys passed ↵Christophe Henry
in options in interactive mode. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-10-12Refs #29628, Refs #33178 -- Made createsuperuser validate password against ↵Mariusz Felisiak
required fields passed in options.
2021-10-11Used Python 3.10 for docs and linters GitHub actions.Mariusz Felisiak
2021-10-11Reverted "Pinned flake8 == 3.9.2 in GitHub actions."Mariusz Felisiak
This reverts commit f2a28e11d910f2aba67f62ad2d7870d24b4ce24b.
2021-10-11Fixed #33149 -- Made test runner --pdb option work with subTest().Abhyudai
Thanks Lucidot for the report and Mariusz Felisiak for the initial patch.
2021-10-11Refs #32900 -- Restored '[y/N]' in questioner prompt when merging migrations.Seonghyeon Cho
Regression in 02bc7161ec477afd4a7b328936eb8adac078d7b9.
2021-10-11Pinned flake8 == 3.9.2 in GitHub actions.Mariusz Felisiak
See https://github.com/PyCQA/flake8/issues/1408
2021-10-08Fixed #33022 -- Fixed isolation of ↵Mariusz Felisiak
migrations.test_executor.ExecutorTests.test_custom_user().
2021-10-08Improved docs regarding UTF-8 support with Apache and mod_wsgi.Nick Frazier
2021-10-08Refs #25467 -- Added test for excluding one-to-one relation with unsaved ↵Jacob Walls
objects. Fixed in 58da81a5a372a69f0bac801c412b57f3cce5f188.
2021-10-08Fixed tests.queries.models.StaffUser.__str__().Jacob Walls
2021-10-07Fixed #33151 -- Fixed createsuperuser crash for many-to-many required fields ↵Christophe Henry
in non-interactive mode.
2021-10-06Refs #31026 -- Improved BoundField.label_tag() docs.David Smith
2021-10-06Fixed #33131 -- Improved error messages for clashing reverse accessor names.Bernd Wechner
2021-10-06Refs #33029 -- Fixed popups Selenium tests in headless mode.Carlton Gibson
Co-authored-by: Yash Jhunjhunwala <yash@jhunjhunwalaadvisors.com>
2021-10-06Fixed #33156 -- Used sessionStorage to preserve quick filter for admin's ↵Maxim Milovanov
navigation sidebar.
2021-10-06Fixed #23408 -- Added migrations questioner prompt for adding unique fields ↵Jacob Walls
with a callable default.
2021-10-06Refs #26430 -- Removed unused branch in sql.Query.get_count().Simon Charette
Now that sql.Query.get_aggregation() properly deals with empty result sets summary Count() annotations cannot result in None. Unused since 9f3cce172f6913c5ac74272fa5fc07f847b4e112.
2021-10-05Refs #32074 -- Doc'd Python 3.10 compatibility in Django 3.2.x.Mariusz Felisiak
2021-10-05Dropped easy_install example from Release How-To.Carlton Gibson
easy_install was deprecated in 2019. https://setuptools.pypa.io/en/latest/history.html#v42-0-0
2021-10-05Refs #32074 -- Added Python 3.10 to classifiers and tox.ini.Mariusz Felisiak
2021-10-05Added stub release notes for Django 3.2.9.Carlton Gibson
2021-10-05Added release date for 3.2.7.Carlton Gibson
2021-10-05Refs #29026 -- Added log() to makemigrations.Jacob Walls
2021-10-05Fixed #22224 -- Added note about supplying missing values for non-nullable ↵Jacob Walls
fields with blank=True.
2021-10-04Fixed #32888 -- Doc'd that select_for_update() only locks tables with ↵Hannes Ljungberg
selected columns.
2021-10-04Refs #33107 -- Optimized cached_import() helper.Nick Pope
2021-10-04Refs #27694 -- Doc'd lookups that can be chained with HStoreField key ↵Sarah Abderemane
transforms.
2021-10-04Refs #27694 -- Added more tests for chaining lookups with HStoreField key ↵Sarah Abderemane
transforms.
2021-10-01Refs #32943 -- Added support for covering exclusion constraints using ↵Nick Pope
SP-GiST indexes on PostgreSQL 14+.
2021-10-01Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+.Nick Pope
2021-10-01Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres.Nick Pope
2021-10-01Fixed typo in exception message for GiST indexes and exclusion constraints.Nick Pope
2021-10-01Fixed SpGistIndex tests on PostgreSQL 14+.Nick Pope
2021-10-01Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() on ↵Daniel Hahler
PostgreSQL.
2021-09-30Fixed #33029 -- Allowed multiple popups for self-related fields in admin.Yash Jhunjhunwala
2021-09-30Optimized @async_unsafe.Adam Johnson
Switched the order of the checks to reduce the overhead. Async unsafe methods are *normally* called syncrhonously, so we can avoid the overhead of checking the environment variable in the regular path.
2021-09-30Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable.Aljaž Košir
2021-09-30Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to ↵Mariusz Felisiak
create a shallow copy of children." This reverts commit e441847ecae99dd1ccd0d9ce76dbcff51afa863c. A shallow copy is not enough because querysets can be reused and evaluated in nested nodes, which shouldn't mutate JOIN aliases. Thanks Michal Čihař for the report.