summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-25Fixed RemoteTestResultTest tests without tblib.Mariusz Felisiak
Follow up to e3bca22e7e572b0274a0814c7869c899d7b544e0.
2021-03-25Doc'd that RawSQL can be used with __in.Simon Willison
2021-03-25Refs #32579 -- Fixed cookie domain comment in CsrfViewMiddleware.process_view().Chris Jerdonek
2021-03-25Refs #32579 -- Optimized good_hosts creation in ↵Chris Jerdonek
CsrfViewMiddleware.process_view().
2021-03-25Fixed #32582 -- Removed unnecessary dot in names of cloned test databases on ↵Girish Sontakke
SQLite.
2021-03-24Fixed typo in DiscoverRunner --reverse help text.Chris Jerdonek
2021-03-24Refs #32532 -- Added DiscoverRunner.load_tests_for_label().Chris Jerdonek
2021-03-24Optimized FkConstraintsTests.test_check_constraints by specifying a database ↵Mariusz Felisiak
table.
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-24Refs #32460 -- Doc'd and tested that property names of model choice enums ↵Nick Pope
cannot be used as members.
2021-03-24Fixed page numbers in Paginator.get_elided_page_range() example in docs.Jannis Vajen
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-23Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X.Mariusz Felisiak
Different PROJ versions use different transformations, all are correct as having a 1 meter accuracy. These are differences in PROJ versions that cannot and should not be handled in Django itself. Thanks Jani Tiainen and David Smith for reports. See: https://github.com/OSGeo/gdal/issues/3377
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-23Refs #32483 -- Added tests QuerySet.values()/values_list() on key transforms ↵Mariusz Felisiak
with structures containing booleans.
2021-03-23Refs #31936 -- Added tests for __in lookup on JSONField key transforms with ↵Mariusz Felisiak
booleans.
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-22Refs #31372 -- Added django.utils.inspect tests for bound methods.Adam Johnson
2021-03-22Updated my entry in AUTHORS.Alex Dutton
2021-03-22Fixed #32576 -- Corrected dumpdata docs for passing model names to the ↵tim-mccurrach
--exclude option.
2021-03-22Made CsrfViewMiddlewareTestMixin._get_GET_no_csrf_cookie_request() return ↵Mariusz Felisiak
GET requests.
2021-03-22Fixed #32581 -- Prevented to_locale() from corrupting locale names.Claude Paroz
2021-03-22Added to_locale() tests for 3-char language codes.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 #32570 -- Removed unnecessary default_auto_field in app config example.kshitijraghav
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-19Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.Mariusz Felisiak
2021-03-19Added parallel argument to DiscoverRunner docs.Mariusz Felisiak
Follow up to cd9fcd4e8073490a52c9e79133ada4661cb7db38.
2021-03-19Corrected DiscoverRunner.build_suite() signature.Mariusz Felisiak
Follow up to 9012833af857e081b515ce760685b157638efcef.
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-18Refs #31370 -- Added test for pickling RemoteTestResult.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-18Refs #29138 -- Added extra tests for autocomplete FK to_field variations.Johannes Maron
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-17Refs #32548 -- Added tests for passing conditional expressions to Q().Mariusz Felisiak
2021-03-17Fixed #32560 -- Fixed test runner with --pdb and --buffer on fail/error.Adam Johnson
2021-03-17Fixed typo in docs/topics/testing/advanced.txt.Jozef
2021-03-17Refs #24121 -- Added __repr__() to Origin and Template.Tiago Honorato
2021-03-16Fixed #32353 -- Confirmed support for PROJ 7.X.Mariusz Felisiak
2021-03-16Refs #32508 -- Raised ImproperlyConfigured instead of using "assert" in ↵Daniyal
SessionStorage.