summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2021-02-15Fixed #32417 -- Removed unneeded hasattr() check in ↵Chris Jerdonek
LiveServerTestCase._tearDownClassInternal().
2021-02-15Refs #32417 -- Improved cleaning up and fixed isolation of staticfiles_tests ↵Chris Jerdonek
tests.
2021-02-13Refs #32394 -- Rephrased release note for STATIC_URL change.Tim Graham
2021-02-12Simplified introspection of constraints on MySQL.Hannes Ljungberg
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-02-12Fixed #32437 -- Fixed cleaning up ALLOWED_HOSTS in LiveServerTestCase on ↵Chris Jerdonek
setUpClass() failure.
2021-02-12Fixed #32438 -- Fixed typo in docs/topics/testing/tools.txt.David Smith
2021-02-12Refs #32416 -- Added LiveServerThread.server_class to ease subclassing.Chris Jerdonek
2021-02-11Documented an example custom context processor.Adam Johnson
2021-02-11Improved pagination documentationAdam Johnson
* Link to the topic guide * Document that page() can raise PageNotAnInteger.
2021-02-11Refs #30944 -- Added pyproject.toml in reusable apps docs.Nick Pope
Related to f8f35e8c530aaf440fa8160327461460d79f6db2.
2021-02-11Fixed #32433 -- Added error message on QuerySet.delete() following distinct().Egidijus Macijauskas
2021-02-11Refs #19102 -- Removed flaky test ↵Egidijus Macijauskas
Ticket19102Tests.test_ticket_19102_distinct_on. The subquery pushdown only happens because another table is involved in filter. It's not the distinct usage that causes the pushdown. The distinct('description').order_by('pk') expression is not valid because SELECT DISTINCT ON must match initial ORDER BY expressions which is not the case here.
2021-02-11Enabled build-system isolation via pip.Florian Apolloner
2021-02-11Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.Ramon Saraiva
2021-02-10Refs #32355 -- Restored PY36 and PY37 version constants.Carlton Gibson
Partially reverts ec0ff406311de88f4e2a135d784363424fe602aa. PY36 should be removed when Django 2.2 is EOL. PY37 should be removed when Django 3.2 is EOL. Thanks to Tim Graham for the report.
2021-02-10Used allowlist_externals in tox.ini (again)Matthias Kestenholz
allowlist_externals is already used in this file. Refs #31670
2021-02-10Fixed #32431 -- Reversed order of security issues history.Hasan Ramezani
2021-02-10Fixed #32355 -- Dropped support for Python 3.6 and 3.7Mariusz Felisiak
2021-02-09Fixed #32145 -- Improved makemessages error message when app's locale ↵Josh Santos
directory doesn't exist.
2021-02-09Fixed #32425 -- Fixed adding nullable field with default on MySQL.Jordan Bae
Thanks Simon Charette for the review.
2021-02-08Fixed #28216 -- Added next_page/get_default_redirect_url() to LoginView.ThinkChaos
2021-02-08Used .. attribute:: directive in authentication views docs.Mariusz Felisiak
2021-02-08Fixed #32430 -- Doc'd base class-based views.Anil Khatri
2021-02-08Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.Anil Khatri
2021-02-06Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵Markus Holtermann
docs where appropriate.
2021-02-06Fixed #32394 -- Changed project template settings to use relative STATIC_URL.Markus Holtermann
Refs #25598 which added original support for relative STATIC_URL and MEDIA_URL.
2021-02-05Fixed #32411 -- Fixed __icontains lookup for JSONField on MySQL.Hasan Ramezani
2021-02-05Fixed #32419 -- Clarified URLconf in example of serving media files.Amankumar Singh
2021-02-05Fixed #32420 -- Fixed detecting primary key values in deserialization when ↵Mikolaj Rybinski
PK is also a FK.
2021-02-04Fixed #32350 -- Fixed showmigrations crash for applied squashed migrations.Daniel Ebrahimian
Thanks Simon Charette for reviews.