summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2021-03-04Corrected messages of admin checks for invalid model field names.Hasan Ramezani
2021-03-03Fixed #27854 -- Added system check for nonexistent directories in ↵Jacob Walls
STATICFILES_DIRS setting.
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-02Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10.François Freitag
2021-03-02Refs #24121 -- Added __repr__() to URLNode.Rohith PR
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-26Fixed typo in assertQuerysetEqual() exception message.Jacob Walls
2021-02-26Refs #32292 -- Made dbshell do not use 'postgres' database when service name ↵Mariusz Felisiak
is set. Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474.
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-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 -- 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-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-18Fixed #32455 -- Allowed right combining Q() with boolean expressions.Hasan Ramezani
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-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-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-12Refs #32416 -- Added LiveServerThread.server_class to ease subclassing.Chris Jerdonek
2021-02-11Fixed #32433 -- Added error message on QuerySet.delete() following distinct().Egidijus Macijauskas
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-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-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 #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.
2021-02-04Fixed #32395 -- Allowed capturing stdout of migration signals.Simon Charette
2021-02-04Refs #32074 -- Fixed TextChoices/IntegerChoices crash on Python 3.10.Mariusz Felisiak
EnumMeta has a new keyword argument 'boundary' in Python 3.10. This is a new mechanism that controls how out-of-range / invalid bits are handled, see https://bugs.python.org/issue38250.