summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2021-02-23Fixed DataUploadMaxNumberOfFieldsFormPost.test_number_exceeded().Mariusz Felisiak
Follow up to 0ad9fa02e07b853003b3c2244d1015620705f020.
2021-02-23Fixed #32471 -- Doc'd the return value of EmailMessage.send().Hasan Ramezani
2021-02-23Fixed #32445 -- Fixed LiveServerThreadTest.test_closes_connections() for ↵Chris Jerdonek
non-in-memory database on SQLite.
2021-02-22Refs #4027 -- Added Model._state.adding to docs about copying model instances.Johannes Wilm
2021-02-22Refs #16117 -- Made @action and @display decorators importable from ↵Nick Pope
django.contrib.gis.admin.
2021-02-22Fixed #32469 -- Made assertQuerysetEqual() respect maxDiff when ordered=False.Nick Pope
2021-02-19Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ↵Hannes Ljungberg
consistent.
2021-02-19Fixed #32256 -- Fixed migration optimization crash when swapping field names.Hasan Ramezani
This disables optimization of RenameField operation when an old field name is referenced in subsequent operations. Co-authored-by: InvalidInterrupt <InvalidInterrupt@users.noreply.github.com>
2021-02-19Added CVE-2021-23336 to security archive.Carlton Gibson
2021-02-19Refs CVE-2021-23336 -- Updated tests and release notes for affected versions.Nick Pope
2021-02-19Refs #30231 -- Fixed SeleniumTests.test_inlines_verbose_name with headless mode.David Smith
Horizontal scrollbar doesn't appear with the headless mode on small windows, that's why window.scrollTo() is not an option for these tests even after fixing #32459.
2021-02-18Fixed #32455 -- Allowed right combining Q() with boolean expressions.Hasan Ramezani
2021-02-18Refs #32455 -- Added tests for left combining an empty Q() with boolean ↵Mariusz Felisiak
expressions.
2021-02-18Fixed #32450 -- Fixed crash when ANDing/ORing an empty Q() with not ↵starryrbs
pickleable Q(). Regression in bb0b6e526340e638522e093765e534df4e4393d2.
2021-02-18Fixed #32443 -- Removed "shifted" CSS class when admin's sidebar is disabled.Amir Ajorloo
2021-02-17Added documentation extlink for bugs.python.org.Nick Pope
2021-02-17Fixed #32453 -- Added introspection of unique constraint field ordering on ↵Hannes Ljungberg
SQLite. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-02-16Fixed #30231 -- Fixed admin filter horizontal/vertical verbose_name generation.Teresa Partida
Co-authored-by: David Smith <smithdc@gmail.com>
2021-02-16Fixed #29052 -- Made test database creation preserve alias order and prefer ↵Harm Geerts
the "default" database. This fixes flushing test databases when two aliases point to the same database. Use a list() to store the test database aliases so the order remains stable by following the order of the connections. Also, always use the "default" database alias as the first alias to accommodate `migrate`. Previously `migrate` could be executed on a secondary alias which caused truncating the "default" database.
2021-02-15Fixed #26607 -- Allowed customizing formset kwargs with ↵manav014
ModelAdmin.get_formset_kwargs(). Thanks Nick Pope for reviews.