summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-28Fixed #31293 -- Allowed MultiPartParser to handle double-quoted encoded headers.007
2020-02-28Fixed #31301 -- Fixed crash of QuerySet.bulk_create() with mixed empty and ↵Hans Aarne Liblik
set ForeignKeys to AutoFields on Oracle.
2020-02-28Fixed #31032 -- Updated admin browser support FAQ for 2020.Carlton Gibson
Following web standards, the modern _evergreen_ browsers are all supported. This applies equally to mobile platforms. Assuming current trends continue, this should be a sustainable policy. Microsoft deprecated all versions of Internet Explorer. IE 11, the last version, is described as a "compatibility solution" rather than a web browser. Whilst it will receive security updates for the lifetime of Windows 10 it's use is actively discouraged. The IE 11 downloads page makes it clear: "We recommend you use the new Microsoft Edge".
2020-02-28Fixed #31311 -- Removed unneeded escapes in validator regexes.kimbo
Special characters lose their special meaning inside sets of characters. "-" lose its special meaning if it's placed as the first or last character.
2020-02-28Fixed #31314 -- Raised CommandError when locale is not specified in ↵Cristobal Mackenzie
makemessages. Regression in 0707b824fe77e08ca8b75fcc3738ada694f2a3a6.
2020-02-28Fixed #31310 -- Fixed hints in checks for using intermediate model with ↵Matheus Cunha Motta
ambiguous foreign key. symmetrical=False is not required since 87b1ad6e7351464c60e751b483d9dfce3a2d3382.
2020-02-28Refs #31310 -- Added test for check for using intermediate model with ↵Matheus Cunha Motta
ambiguous foreign key from model.
2020-02-27Fixed #31307 -- Fixed filter_horizontal add/remove SVG :hover positioning.007gzs
2020-02-27Fixed #31251 -- Disabled grouping by OuterRef() annotation.Rohit
2020-02-27Fixed #31185 -- Fixed detecting of unique fields in ForeignKey/ForeignObject ↵Valze
checks when using Meta.constraints.
2020-02-27Fixed #31312 -- Properly ordered temporal subtraction params on MySQL.Simon Charette
Regression in 9bcbcd599abac91ea853b2fe10b784ba32df043e. Thanks rick2ricks for the report.
2020-02-27Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.Andrey Doroschenko
2020-02-26Fixed #28699 -- Fixed CSRF validation with remote user middleware.Colton Hicks
Ensured process_view() always accesses the CSRF token from the session or cookie, rather than the request, as rotate_token() may have been called by an authentication middleware during the process_request() phase.
2020-02-26Fixed #28280 -- Prevented numberformat.format() from formatting large/tiny ↵Hasan Ramezani
floats in scientific notation.
2020-02-26Removed hint from fields.E310 message in system check docs.Mariusz Felisiak
This is the only documented hint.
2020-02-26Fixed #31289 -- Added hint for USERNAME_FIELD/REQUIRED_FIELDS system check.aryan
2020-02-26Simplified handling of weights in SearchRank.Simon Charette
2020-02-26Formalized SearchVector and SearchRank signatures.Simon Charette
2020-02-26Refs #31211 -- Prevented SearchConfig nesting in SearchVector and ↵Simon Charette
SearchQuery init. Passing a SearchConfig instance directly to SearchVector and SearchQuery would result in nested SearchConfig instance.
2020-02-26Refs #3254 -- Removed unnecessary truth check in SearchVectorExact.as_sql().Simon Charette
Direct usage of the @@ operator is perfectly allowed.
2020-02-25Fixed #31291 -- Renamed salt to mask for CSRF tokens.Ram Rachum
2020-02-24Fixed #31286 -- Made database specific fields checks databases aware.Taoup
Follow up to 0b83c8cc4db95812f1e15ca19d78614e94cf38dd.
2020-02-24Fixed backends tests on Oracle.Mariusz Felisiak
Using Person in test_introspection caused removing constraints in intermediate table for ManyToManyField in VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ that were expected by other transaction tests. A model without any constraints was used to prevent isolation issues.
2020-02-24Fixed #31292 -- Fixed django.contrib.gis.gdal.gdal_full_version() crash.Diederik van der Boor
2020-02-24Added test for django.contrib.gis.gdal.gdal_version().Diederik van der Boor
2020-02-24Fixed #31303 -- Removed outdated note about symmetrical intermediate table ↵Matheus Cunha Motta
for self-referential ManyToManyField. Follow up to 87b1ad6e7351464c60e751b483d9dfce3a2d3382.
2020-02-20Fixed #31182 -- Adjusted release notes for ASGI support.Adam Johnson
2020-02-20Corrected typo in test docstring.Jon Dufresne
2020-02-20Captured logging in DebugViewTests with assertLogs().Jon Dufresne
2020-02-19Fixed #30040 -- Used default permission name in docs examples to avoid ↵Hasan Ramezani
confusion.
2020-02-19Fixed tests when run in reverse.Mariusz Felisiak
Regression in 98f23a8af0be7e87535426c5c83058e2682bfdf8.
2020-02-19Refs #31224 -- Added BaseHandler.check_response().Andrew Godwin
2020-02-19Fixed #31187 -- Fixed detecting of existing total ordering in admin ↵Fabio Sangiovanni
changelist when using Meta.constraints. Detection of existing total ordering in admin changelist now takes into account non-partial unique constraints.
2020-02-19Refs #31187 -- Added total_unique_constraints property to model's Options.Mariusz Felisiak
2020-02-19Removed duplicate tests in ChangeListTests.test_total_ordering_optimization().Fabio Sangiovanni
2020-02-19Fixed typos in docs and a test comment.Yoo In Keun
2020-02-18Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵Claude Paroz
classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-02-18Refs #31282 -- Clarified M2O add/remove/set with PK behaviour.Carlton Gibson
Improved error message for remove() and added tests.
2020-02-18Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.Carlton Gibson
2020-02-18Fixed #31271 -- Preserved ordering when unifying query parameters on Oracle.Mariusz Felisiak
This caused misplacing parameters in logged SQL queries. Regression in 79065b55a70cd220820a260a1c54851b7be0615a. Thanks Hans Aarne Liblik for the report.
2020-02-18Fixed #31228 -- Reallowed aggregates to be used with multiple expressions ↵Taoup
and no DISTINCT on SQLite. Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111. Thanks Andy Terra for the report.
2020-02-18Fixed #20995 -- Added support for iterables of template names to {% include ↵Keshav Kumar
%} template tag. Thanks Adam Johnson for the review.
2020-02-17Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table ↵Xavier Francisco
collision when database routers are installed. Turned the error into a warning when database routers are installed.
2020-02-14Fixed #26552 -- Deferred constraint checks when reloading the database with ↵Matthijs Kooijman
data for tests. deserialize_db_from_string() loads the full serialized database contents, which might contain forward references and cycles. That caused IntegrityError because constraints were checked immediately. Now, it loads data in a transaction with constraint checks deferred until the end of the transaction.
2020-02-14Removed unused and incorrect PossessedCar.__str__() method in test_utils.Mariusz Felisiak
PossessedCar doesn't have a color.
2020-02-14Removed redundant MiddlewareTest.test_old_style_request() test.Claude Paroz
CurrentSiteMiddleware.process_request() is already covered by MiddlewareTest.test_request().
2020-02-14Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.Hasan Ramezani
2020-02-13Enabled "GitHub Sponsors".Mariusz Felisiak
2020-02-13Removed unused cache.tests.CacheUtils._set_cache().Claude Paroz
Unused since its introduction in 71a03e01aa19cbde08e915d156abf39b67d904ef.
2020-02-13Fixed #31250 -- Ignored processing instructions in ↵yura
assertXMLEqual()/assertXMLNotEqual().