summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-08Refs #32489 -- Simplified filter_tests_by_tags().Chris Jerdonek
2021-03-08Refs #32489 -- Simplified partition_suite_by_case().Chris Jerdonek
2021-03-08Refs #32489 -- Removed unneeded partition_suite_by_type().Chris Jerdonek
2021-03-08Fixed #32517 -- Made OrderedSet reversible.Diego Lima
Refs #32516.
2021-03-06Fixed #24141 -- Added QuerySet.contains().Johan Schiff
2021-03-05Fixed #32507 -- Added link to assertHTMLEqual() in assertInHTML() docs.Jacob Walls
2021-03-05Fixed #32489 -- Added iter_test_cases() to iterate over a TestSuite.Chris Jerdonek
This also makes partition_suite_by_type(), partition_suite_by_case(), filter_tests_by_tags(), and DiscoverRunner._get_databases() to use iter_test_cases().
2021-03-05Simplified for loop in reorder_suite().Chris Jerdonek
2021-03-04Fixed typo assertNotContains() docstring.Jacob Walls
2021-03-04Refs #32483 -- Doc'd caveat about using JSONField key transforms to booleans ↵Mariusz Felisiak
with QuerySet.values()/values_list() on SQLite.
2021-03-04Fixed typo in docs/ref/contrib/postgres/fields.txt.Mariusz Felisiak
2021-03-04Fixed #32494 -- Adjusted system check for raw_id_fields to warn about ↵Hasan Ramezani
Field.attname.
2021-03-04Corrected messages of admin checks for invalid model field names.Hasan Ramezani
2021-03-04Corrected admin.E023 message in docs.Hasan Ramezani
2021-03-03Updated my entry in AUTHORS.F. Malina
2021-03-03Refs #32412 -- Adjusted Contributing Guide start page.GabbyPrecious
* Added headers emphasising Work on the framework vs Join the community sections, to raise the visibility of the community section. * Added callouts to three main code/docs/translations areas, linking to respective start pages. * Moved some Writing code specific content from the start page to the Writing code index. This clarifies the start page and adds content to the previously empty Writing code index. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-03Fixed #27854 -- Added system check for nonexistent directories in ↵Jacob Walls
STATICFILES_DIRS setting.
2021-03-03Used CollectionTestCase in FindersCheckTests tests.Mariusz Felisiak
2021-03-03Refs #27854 -- Skipped subsequent checks if STATICFILES_DIRS is not a list ↵Jacob Walls
or tuple.
2021-03-03Fixed #32493 -- Removed redundant never_cache uses from admin views.tim-mccurrach
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-03Updated links to djangoproject.com/code.djangoproject.com repositories.Mariusz Felisiak
2021-03-02Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10.François Freitag
2021-03-02Refs #24121 -- Added __repr__() to URLNode.Rohith PR
2021-03-02Fixed #32271 -- Improved consistency of docs CBV examples.Jack Aitken
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
2021-03-01Fixed #22640 -- Raised TypeError when instantiating model with keyword and ↵Jacob Walls
positional args for the same field.
2021-03-01Refs #23919 -- Removed unneeded AttributeError catching in collectstatic's ↵Jacob Walls
link_file(). os.symlink() exists always on Python 3.2+.
2021-03-01Fixed #32456 -- Added dbshell support for specifying a password file on ↵Hasan Ramezani
PostgreSQL.
2021-02-26Used GitHub actions for docs tests.Mariusz Felisiak
Co-Authored-By: Tom Forbes <tom@tomforb.es>
2021-02-26Changed "pip3 install" to "python -m pip install" in GitHub actions workflows.Mariusz Felisiak
2021-02-26Fixed typo in assertQuerysetEqual() exception message.Jacob Walls
2021-02-26Fixed #20423 -- Doc'd that DTL variable names may not be a number.tim-mccurrach
2021-02-26Refs #32292 -- Made dbshell do not use 'postgres' database when service name ↵Mariusz Felisiak
is set. Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474.
2021-02-26Removed unused code in admin_views tests.Jacob Walls
Unused since its introduction in 7b21bfc0745f92f83a6826a3d3e58797fb74e32 and 1e4ad6f118007547c7e627f1d5bd11bfb2992bf9.
2021-02-26Fixed #28607 -- Prevented duplicates in HashedFilesMixin post-processing ↵Jacob Walls
results. Thanks Ed Morley for the implementation idea.
2021-02-26Refs #24121 -- Added __repr__() to FilterExpression, Lexer, Parser, and Token.David Smith
2021-02-26Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.Jacob Walls
2021-02-26Enabled GitHub actions on push.Mariusz Felisiak
Co-authored-by: Tom Forbes <tom@tomforb.es>
2021-02-25Fixed indentation in docs/topics/i18n/translation.txt.Camilo Nova
2021-02-25Added stub release notes for 3.1.8.Mariusz Felisiak
2021-02-25Updated links to DEPs.Markus Holtermann
2021-02-24Fixed #32480 -- Corrected docstring and removed redundant comments in ↵BeryCZ
django/views/defaults.py.
2021-02-24Fixed #32446 -- Deprecated SERIALIZE test database setting.Simon Charette
Whether or not the state of a test database should be serialized can be inferred from the set of databases allowed to be access from discovered TestCase/TransactionTestCase enabling the serialized_rollback feature which makes this setting unnecessary. This should make a significant test suite bootstraping time difference on large projects that didn't explicitly disable test database serialization.
2021-02-24Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.Mariusz Felisiak
Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
2021-02-24Refs #31811 -- Restored **kwargs to django.test.utils.setup_databases().Mariusz Felisiak
Accidentally removed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
2021-02-24Refs #32468 -- Added error message on invalid usage of cache decorators.Haki Benita
2021-02-24Fixed #32468 -- Corrected usage of never_cache in contrib.admin.Haki Benita
2021-02-24Fixed #32478 -- Included nested columns referenced by subqueries in GROUP BY ↵Simon Charette
on aggregations. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Refs #31094, #31150. Thanks Igor Pejic for the report.
2021-02-23Fixed #30916 -- Added support for functional unique constraints.Hannes Ljungberg
Thanks Ian Foote and Mariusz Felisiak for reviews.
2021-02-23Fixed typo in django/db/backends/sqlite3/base.py comment.Chris Jerdonek
2021-02-23Fixed #32470 -- Fixed ResolverMatch instance on test clients when ↵Marc Gibbons
request.urlconf is set.