Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to ↵master | Tim Graham | 2021-03-08 | 1 | -0/+1 |
| | | | | | a test. Failure observed on CockroachDB. | ||||
* | Fixed #32517 -- Made OrderedSet reversible. | Diego Lima | 2021-03-08 | 1 | -1/+6 |
| | | | | Refs #32516. | ||||
* | Fixed #24141 -- Added QuerySet.contains(). | Johan Schiff | 2021-03-06 | 3 | -0/+69 |
| | |||||
* | Fixed #32489 -- Added iter_test_cases() to iterate over a TestSuite. | Chris Jerdonek | 2021-03-05 | 1 | -0/+81 |
| | | | | | | This also makes partition_suite_by_type(), partition_suite_by_case(), filter_tests_by_tags(), and DiscoverRunner._get_databases() to use iter_test_cases(). | ||||
* | Fixed #32494 -- Adjusted system check for raw_id_fields to warn about ↵ | Hasan Ramezani | 2021-03-04 | 1 | -0/+12 |
| | | | | Field.attname. | ||||
* | Corrected messages of admin checks for invalid model field names. | Hasan Ramezani | 2021-03-04 | 2 | -11/+11 |
| | |||||
* | Fixed #27854 -- Added system check for nonexistent directories in ↵ | Jacob Walls | 2021-03-03 | 1 | -2/+23 |
| | | | | STATICFILES_DIRS setting. | ||||
* | Used CollectionTestCase in FindersCheckTests tests. | Mariusz Felisiak | 2021-03-03 | 1 | -26/+32 |
| | |||||
* | Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10. | François Freitag | 2021-03-02 | 7 | -19/+56 |
| | |||||
* | Refs #24121 -- Added __repr__() to URLNode. | Rohith PR | 2021-03-02 | 1 | -0/+21 |
| | |||||
* | Fixed #22640 -- Raised TypeError when instantiating model with keyword and ↵ | Jacob Walls | 2021-03-01 | 1 | -0/+9 |
| | | | | positional args for the same field. | ||||
* | Fixed #32456 -- Added dbshell support for specifying a password file on ↵ | Hasan Ramezani | 2021-03-01 | 1 | -0/+28 |
| | | | | PostgreSQL. | ||||
* | Fixed typo in assertQuerysetEqual() exception message. | Jacob Walls | 2021-02-26 | 1 | -1/+4 |
| | |||||
* | Refs #32292 -- Made dbshell do not use 'postgres' database when service name ↵ | Mariusz Felisiak | 2021-02-26 | 1 | -1/+1 |
| | | | | | is set. Regression in dcb3ad3319cad5c270a1856fd5f355e37cf9d474. | ||||
* | Removed unused code in admin_views tests. | Jacob Walls | 2021-02-26 | 2 | -9/+0 |
| | | | | Unused since its introduction in 7b21bfc0745f92f83a6826a3d3e58797fb74e32 and 1e4ad6f118007547c7e627f1d5bd11bfb2992bf9. | ||||
* | Fixed #28607 -- Prevented duplicates in HashedFilesMixin post-processing ↵ | Jacob Walls | 2021-02-26 | 1 | -0/+2 |
| | | | | | | results. Thanks Ed Morley for the implementation idea. | ||||
* | Refs #24121 -- Added __repr__() to FilterExpression, Lexer, Parser, and Token. | David Smith | 2021-02-26 | 1 | -1/+17 |
| | |||||
* | Fixed #32446 -- Deprecated SERIALIZE test database setting. | Simon Charette | 2021-02-24 | 3 | -10/+30 |
| | | | | | | | | | | | 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. | ||||
* | Refs #32468 -- Added error message on invalid usage of cache decorators. | Haki Benita | 2021-02-24 | 1 | -1/+28 |
| | |||||
* | Fixed #32478 -- Included nested columns referenced by subqueries in GROUP BY ↵ | Simon Charette | 2021-02-24 | 1 | -0/+15 |
| | | | | | | | | | | on aggregations. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Refs #31094, #31150. Thanks Igor Pejic for the report. | ||||
* | Fixed #30916 -- Added support for functional unique constraints. | Hannes Ljungberg | 2021-02-23 | 5 | -2/+589 |
| | | | | Thanks Ian Foote and Mariusz Felisiak for reviews. | ||||
* | Fixed #32470 -- Fixed ResolverMatch instance on test clients when ↵ | Marc Gibbons | 2021-02-23 | 2 | -1/+42 |
| | | | | request.urlconf is set. | ||||
* | Fixed DataUploadMaxNumberOfFieldsFormPost.test_number_exceeded(). | Mariusz Felisiak | 2021-02-23 | 1 | -1/+1 |
| | | | Follow up to 0ad9fa02e07b853003b3c2244d1015620705f020. | ||||
* | Fixed #32445 -- Fixed LiveServerThreadTest.test_closes_connections() for ↵ | Chris Jerdonek | 2021-02-23 | 1 | -5/+11 |
| | | | | non-in-memory database on SQLite. | ||||
* | Fixed #32469 -- Made assertQuerysetEqual() respect maxDiff when ordered=False. | Nick Pope | 2021-02-22 | 1 | -0/+31 |
| | |||||
* | Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ↵ | Hannes Ljungberg | 2021-02-19 | 5 | -24/+57 |
| | | | | consistent. | ||||
* | Fixed #32256 -- Fixed migration optimization crash when swapping field names. | Hasan Ramezani | 2021-02-19 | 1 | -0/+17 |
| | | | | | | | 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> | ||||
* | Refs CVE-2021-23336 -- Updated tests and release notes for affected versions. | Nick Pope | 2021-02-19 | 2 | -4/+4 |
| | |||||
* | Refs #30231 -- Fixed SeleniumTests.test_inlines_verbose_name with headless mode. | David Smith | 2021-02-19 | 1 | -0/+4 |
| | | | | | 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. | ||||
* | Fixed #32455 -- Allowed right combining Q() with boolean expressions. | Hasan Ramezani | 2021-02-18 | 1 | -0/+10 |
| | |||||
* | Refs #32455 -- Added tests for left combining an empty Q() with boolean ↵ | Mariusz Felisiak | 2021-02-18 | 1 | -0/+12 |
| | | | | expressions. | ||||
* | Fixed #32450 -- Fixed crash when ANDing/ORing an empty Q() with not ↵ | starryrbs | 2021-02-18 | 1 | -0/+8 |
| | | | | | | pickleable Q(). Regression in bb0b6e526340e638522e093765e534df4e4393d2. | ||||
* | Fixed #32443 -- Removed "shifted" CSS class when admin's sidebar is disabled. | Amir Ajorloo | 2021-02-18 | 1 | -0/+1 |
| | |||||
* | Fixed #32453 -- Added introspection of unique constraint field ordering on ↵ | Hannes Ljungberg | 2021-02-17 | 2 | -1/+29 |
| | | | | | | SQLite. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #30231 -- Fixed admin filter horizontal/vertical verbose_name generation. | Teresa Partida | 2021-02-16 | 3 | -3/+115 |
| | | | | Co-authored-by: David Smith <smithdc@gmail.com> | ||||
* | Fixed #29052 -- Made test database creation preserve alias order and prefer ↵ | Harm Geerts | 2021-02-16 | 1 | -1/+30 |
| | | | | | | | | | | | | | | 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. | ||||
* | Fixed #26607 -- Allowed customizing formset kwargs with ↵ | manav014 | 2021-02-15 | 2 | -0/+10 |
| | | | | | | ModelAdmin.get_formset_kwargs(). Thanks Nick Pope for reviews. | ||||
* | Refs #32417 -- Improved cleaning up and fixed isolation of staticfiles_tests ↵ | Chris Jerdonek | 2021-02-15 | 1 | -10/+19 |
| | | | | tests. | ||||
* | Fixed #32437 -- Fixed cleaning up ALLOWED_HOSTS in LiveServerTestCase on ↵ | Chris Jerdonek | 2021-02-12 | 1 | -0/+37 |
| | | | | setUpClass() failure. | ||||
* | Refs #32416 -- Added LiveServerThread.server_class to ease subclassing. | Chris Jerdonek | 2021-02-12 | 1 | -0/+16 |
| | |||||
* | Fixed #32433 -- Added error message on QuerySet.delete() following distinct(). | Egidijus Macijauskas | 2021-02-11 | 1 | -1/+12 |
| | |||||
* | Refs #19102 -- Removed flaky test ↵ | Egidijus Macijauskas | 2021-02-11 | 1 | -14/+0 |
| | | | | | | | | | | | 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. | ||||
* | Fixed #32421 -- Made admindocs ModelDetailView show model cached properties. | Ramon Saraiva | 2021-02-11 | 2 | -0/+9 |
| | |||||
* | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | 2021-02-10 | 11 | -116/+21 |
| | |||||
* | Fixed #32145 -- Improved makemessages error message when app's locale ↵ | Josh Santos | 2021-02-09 | 1 | -2/+6 |
| | | | | directory doesn't exist. | ||||
* | Fixed #32425 -- Fixed adding nullable field with default on MySQL. | Jordan Bae | 2021-02-09 | 1 | -0/+27 |
| | | | | Thanks Simon Charette for the review. | ||||
* | Fixed #28216 -- Added next_page/get_default_redirect_url() to LoginView. | ThinkChaos | 2021-02-08 | 2 | -2/+36 |
| | |||||
* | Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵ | Markus Holtermann | 2021-02-06 | 8 | -11/+11 |
| | | | | docs where appropriate. | ||||
* | Fixed #32411 -- Fixed __icontains lookup for JSONField on MySQL. | Hasan Ramezani | 2021-02-05 | 1 | -0/+6 |
| | |||||
* | Fixed #32420 -- Fixed detecting primary key values in deserialization when ↵ | Mikolaj Rybinski | 2021-02-05 | 2 | -2/+35 |
| | | | | PK is also a FK. |