summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-15Refs #32417 -- Improved cleaning up and fixed isolation of staticfiles_tests ↵Chris Jerdonek
tests.
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-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-11Fixed #32421 -- Made admindocs ModelDetailView show model cached properties.Ramon Saraiva
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-06Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵Markus Holtermann
docs where appropriate.
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-04Skipped test_archive tests when bz2/lzma module is not installed.Mariusz Felisiak
2021-02-04Fixed #32395 -- Allowed capturing stdout of migration signals.Simon Charette
2021-02-04Used subTest() in migrate_signals.tests.MigrateSignalTests.test_args().Simon Charette
2021-02-04Fixed #31527 -- Allowed admindocs index to handle non-string URLconfs.Jim Xie
2021-02-04Fixed #32332 -- Fixed loss of parent with non-numeric pk when saving child ↵Hasan Ramezani
after parent. Follow up to 519016e5f25d7c0a040015724f9920581551cab0.
2021-02-03Refs #32390 -- Bumped required cx_Oracle to 7.0.Mariusz Felisiak
2021-02-02Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' ↵Mariusz Felisiak
database. Thanks Kazantcev Andrey for the report. Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe.
2021-02-01Fixed CVE-2021-3281 -- Fixed potential directory-traversal via ↵Mariusz Felisiak
archive.extract(). Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews. Thanks Wang Baohua for the report.
2021-01-29Fixed #32345 -- Fixed preserving encoded query strings in set_language() view.Sandro Covo
Thanks Johannes Maron for the review.
2021-01-29Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in expressions.Tilman Koschnick
2021-01-29Fixed GeoIPTest.test04_city() failure with the latest GeoIP2 database.Mariusz Felisiak
2021-01-28Fixed #32389 -- Fixed ResponseHeaders crash when data is not mapping.Illia Volochii
2021-01-27Fixed #32290 -- Fixed TemplateNotFound in {% include %} tag for relative ↵Hasan Ramezani
path in variable.
2021-01-27Refs #32290 -- Added {% extends %} test for relative path in variable.Hasan Ramezani
2021-01-26Refs #26602 -- Added tests for aggregating over a RawSQL() annotation.Mariusz Felisiak
Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5. Thanks Manav Agarwal for initial test.
2021-01-26Fixed #32347 -- Made ModelChoiceField include the value in ValidationError ↵Jerin Peter George
for invalid_choice.
2021-01-26Fixed #32369 -- Fixed adding check constraints with pattern lookups and ↵Simon Charette
expressions as rhs. This disables interpolation of constraint creation statements. Since Constraint.create_sql interpolates its parameters instead of deferring this responsibility to the backend connection it must disable connection level parameters interpolation.
2021-01-25Refs #32380 -- Added test for distance lookups with F() expression.Mariusz Felisiak
Fixed in 5935a9aeade517aebdceea989467d2b46c44d96f.
2021-01-22Fixed #32360 -- Added system check for FILE_UPLOAD_TEMP_DIR setting.Timothy McCurrach
2021-01-21Fixed #32367 -- Fixed system check for specifying type of auto-created ↵Mariusz Felisiak
primary keys for inherited PKs. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. Thanks אורי for the report.
2021-01-21Fixed #32374 -- Stopped recording migration application before deferred SQL.Simon Charette
Migrations cannot be recorded in the same transaction as its associated DDL operations when some of it is deferred until the schema editor context exits. Regression in c86a3d80a25acd1887319198ca21a84c451014ad.
2021-01-21Refs #29721 -- Simplified migration used to test atomic recording.Simon Charette
This makes sure atomic recording of migration application is used when the schema editor doesn't defer any statement.
2021-01-20Fixed #32292 -- Added support for connection by service name to PostgreSQL.Hasan Ramezani
2021-01-20Fixed isolation of utils_tests.test_autoreload tests.Mariusz Felisiak
2021-01-19Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak
2021-01-19Refs #32365 -- Allowed use of non-pytz timezone implementations.Paul Ganssle
2021-01-18Fixed #32296 -- Added --skip-checks option to runserver command.Hasan Ramezani
2021-01-18Fixed isolation of test_check_errors_catches_all_exceptions.Mariusz Felisiak
2021-01-18Fixed #32358 -- Fixed queryset crash when grouping by annotation with ↵Illia Volochii
Distance()/Area(). Made MeasureBase hashable.
2021-01-18Fixed #18549 -- Fixed heading for inlines with a OneToOneField.Timothy McCurrach
Used verbose_name instead of verbose_name_plural.
2021-01-18Refs #18549 -- Added test for heading of foreign key inlines.Timothy McCurrach