summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2021-03-24Removed trailing whitespaces in error messages.Mariusz Felisiak
2021-03-24Fixed #29606 -- Added type check for ALLOWED_HOSTS setting.Adam Donaghy
2021-03-24Fixed #32460 -- Allowed "label"/"do_not_call_in_templates" members in model ↵Nick Pope
choice enums.
2021-03-23Fixed #32573 -- Fixed bounds in __iso_year lookup optimization.Florian Demmer
2021-03-23Optimized django.utils.text.capfirst().Nick Pope
Unconditionally coercing to str type twice is expensive.
2021-03-23Fixed #32483 -- Fixed QuerySet.values()/values_list() on JSONField key ↵Mariusz Felisiak
transforms with booleans on SQLite. Thanks Matthew Cornell for the report.
2021-03-22Refs #31732 -- Fixed django.utils.inspect caching for bound methods.Adam Johnson
Thanks Alexandr Artemyev for the report, and Simon Charette for the original patch.
2021-03-22Fixed #32581 -- Prevented to_locale() from corrupting locale names.Claude Paroz
2021-03-19Fixed #32556 -- Fixed handling empty string as non-boolean attributes value ↵Baptiste Mispelon
by assertHTMLEqual().
2021-03-19Refs #32556 -- Added django.test.html.normalize_attributes().Baptiste Mispelon
2021-03-19Fixed #32571 -- Made CsrfViewMiddleware handle invalid URLs in Referer header.Adam Donaghy
2021-03-19Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.core.Daniyal
2021-03-18Fixed #16010 -- Added Origin header checking to CSRF middleware.Tim Graham
Thanks David Benjamin for the original patch, and Florian Apolloner, Chris Jerdonek, and Adam Johnson for reviews.
2021-03-18Refs #16010 -- Required CSRF_TRUSTED_ORIGINS setting to include the scheme.Tim Graham
2021-03-18Fixed #32556 -- Fixed assertHTMLEqual() to handle empty string as boolean ↵Hasan Ramezani
attributes value.
2021-03-18Fixed #31370 -- Added support for parallel tests with --buffer.Adam Johnson
2021-03-18Refs #31370 -- Made RemoteTestResult subclass unittest.TestResult.Adam Johnson
2021-03-18Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.Johannes Maron
In MTI or ForeignKey as primary key cases, it is required to fetch the attname from the field instance on the remote model in order to reliably resolve the to_field_name. Co-authored-by: Johannes Maron <info@johanneshoppe.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-18Fixed #32547 -- Corrected notes about validation in HTML assertions docs.Hasan Ramezani
2021-03-17Fixed #32548 -- Fixed crash when combining Q() objects with boolean expressions.Jonathan Richards
2021-03-17Fixed #32560 -- Fixed test runner with --pdb and --buffer on fail/error.Adam Johnson
2021-03-17Refs #24121 -- Added __repr__() to Origin and Template.Tiago Honorato
2021-03-16Refs #32508 -- Raised ImproperlyConfigured instead of using "assert" in ↵Daniyal
SessionStorage.
2021-03-16Fixed #32546 -- Avoided Meta.ordering columns in GROUP BY clauses.Yuri Konotopov
Follow up to 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6.
2021-03-15Refs #32508 -- Raised ValueError instead of using "assert" in lazy().Hasan Ramezani
2021-03-15Fixed #32540 -- Optimized DiscoverRunner.build_suite() by calling ↵Chris Jerdonek
find_top_level() only if is_discoverable() is true.
2021-03-15Refs #32540 -- Added django.test.runner.find_top_level().Chris Jerdonek
2021-03-12Fixed #31516 -- Improved naming of migrations with multiple operations.manav014
52 gives 60 in total (52 + 5 + 3). Co-authored-by: Adam Johnson <me@adamj.eu>
2021-03-12Refs #31516, Refs #31703 -- Made makemigrations always name initial ↵Adam Johnson
migrations "initial".
2021-03-12Reduced nesting inside DiscoverRunner.build_suite().Chris Jerdonek
2021-03-11Fixed #32529 -- Delayed creating a test suite in build_suite().Chris Jerdonek
2021-03-11Refs #32489 -- Doc'd and tested iter_test_cases() support for an iterable of ↵Chris Jerdonek
tests.
2021-03-11Refs #32508 -- Raised ImproperlyConfigured instead of using "assert" in ↵Hasan Ramezani
middlewares.
2021-03-10Refs #24121 -- Added __repr__() to MiddlewareMixin and subclasses.Jonny Park
2021-03-10Refs #31235 -- Improved assertQuerysetEqual() warning message with stacklevel=2.Claude Paroz
2021-03-10Fixed #32512 -- Fixed admin dark theme for autocomplete fields.mimi89999
2021-03-10Refs #24121 -- Added __repr__() to OrderedSet.Nick Pope
2021-03-10Refs #32508 -- Raised TypeError instead of using "assert" on unsupported ↵Mariusz Felisiak
operations for sliced querysets.
2021-03-09Refs #32018 -- Corrected color variable for toggle links in admin.Mariusz Felisiak
Follow up to cd3019bc106eed27b2f97776e4dd9ec7cbac29b2.
2021-03-09Refs #32018 -- Used --darkened-bg for <pre> elements.Mariusz Felisiak
2021-03-09Fixed #32516 -- Fixed reorder_suite() with duplicates and reverse=True.Chris Jerdonek
2021-03-08Refs #32489 -- Simplified filter_tests_by_tags().Chris Jerdonek
2021-03-08Refs #32489 -- Simplified partition_suite_by_case().Chris Jerdonek
2021-03-08Refs #32489 -- Removed unneeded partition_suite_by_type().Chris Jerdonek
2021-03-08Fixed #32517 -- Made OrderedSet reversible.Diego Lima
Refs #32516.
2021-03-06Fixed #24141 -- Added QuerySet.contains().Johan Schiff
2021-03-05Fixed #32489 -- Added iter_test_cases() to iterate over a TestSuite.Chris Jerdonek
This also makes partition_suite_by_type(), partition_suite_by_case(), filter_tests_by_tags(), and DiscoverRunner._get_databases() to use iter_test_cases().
2021-03-05Simplified for loop in reorder_suite().Chris Jerdonek
2021-03-04Fixed typo assertNotContains() docstring.Jacob Walls
2021-03-04Fixed #32494 -- Adjusted system check for raw_id_fields to warn about ↵Hasan Ramezani
Field.attname.