summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-31Refs #32319 -- Changed HashedFilesMixin to use named groups in patterns.Gildardo Adrian Maravilla Jacome
2021-05-29Refs #32778 -- Improved the name of the regex object detecting invalid CSRF ↵Chris Jerdonek
token characters. This also improves the comments near where the variable is used.
2021-05-29Fixed typos in comments and docs.David Sanders
2021-05-28Fixed #32676 -- Prevented migrations from rendering related field attributes ↵David Wobrock
when not passed during initialization. Thanks Simon Charette for the implementation idea.
2021-05-28Refs #32779 -- Changed ↵Hannes Ljungberg
DatabaseSchemaEditor._unique_sql()/_create_unique_sql() to take fields as second parameter.
2021-05-28Refs #24121 -- Added __repr__() to PermWrapper.abhiabhi94
2021-05-28Refs #32596 -- Added early return on safe methods in ↵Chris Jerdonek
CsrfViewMiddleware.process_view().
2021-05-28Refs #32596 -- Optimized CsrfViewMiddleware._check_referer() to delay ↵Chris Jerdonek
computing good_referer.
2021-05-28Fixed #32596 -- Added CsrfViewMiddleware._check_referer().Chris Jerdonek
This encapsulates CsrfViewMiddleware's referer logic into a method and updates existing tests to check the "seam" introduced by the refactor, when doing so would improve the test.
2021-05-27Fixed #32789 -- Made feeds emit elements with no content as self-closing tags.Mohammadreza Varasteh
2021-05-27Refs #32596 -- Added extra tests for CsrfViewMiddleware's referer logic.Chris Jerdonek
2021-05-27Fixed typo in MiddlewareMixin deprecation note.Nick Pope
2021-05-26Fixed #32762 -- Fixed locale reset in compilemessages test.Nilo César Teixeira
Reset the `LC_ALL` override value in the test environment to ensure that locale values the calling environment are not used.
2021-05-26Fixed #32669 -- Fixed detection when started non-django modules which aren't ↵Moriyoshi Koizumi
packages with "python -m" in autoreloader.
2021-05-26Fixed #32772 -- Made database cache count size once per set.Michael Lissner
2021-05-26Fixed #32783 -- Fixed crash of autoreloader when __main__ module doesn't ↵Mariusz Felisiak
have __spec__ attribute. Regression in ec6d2531c59466924b645f314ac33f54470d7ac3. Thanks JonathanNickelson for the report.
2021-05-26Fixed #32543 -- Added search_help_text to ModelAdmin.Hasan Ramezani
2021-05-26Added stub release notes and date for Django 3.2.4, 3.1.12, and 2.2.24.Carlton Gibson
2021-05-26Fixed #32744 -- Normalized to pathlib.Path in autoreloader check for ↵Hasan Ramezani
template changes.
2021-05-25Refs #32379 -- Added USE_TZ settings to AdminScriptTestCase.write_settings().Mariusz Felisiak
2021-05-25Fixed #32780 -- Made Add/RemoveConstraint operations a noop for ↵Hannes Ljungberg
covering/deferrable unique constraints on SQLite.
2021-05-25Fixed #32778 -- Avoided unnecessary recompilation of token regex in ↵abhiabhi94
_sanitize_token().
2021-05-24Refs #24121 -- Added __repr__() to Lookup.saeedblanchette
2021-05-24Refs #24121 -- Improved Value.__repr__().Mariusz Felisiak
2021-05-24Fixed typo in tests/expressions/tests.py.Mariusz Felisiak
2021-05-24Fixed #32777 -- Passed table reference as a string to ↵Hannes Ljungberg
DatabaseSchemaEditor._index_columns().
2021-05-21Fixed #32503 -- Fixed altering BLOB/TEXT field to non-nullable with default ↵Yuekui Li
on MySQL 8.0.13+. MySQL 8.0.13+ supports defaults for BLOB/TEXT but not in the ALTER COLUMN statement. Regression in 6b16c91157512587017e9178d066ed1a683e7795. Thanks Matt Westcott for the report.
2021-05-21Fixed #32375 -- Started deprecation toward changing the default sitemap ↵Rohith PR
protocol to https. The default sitemap protocol, when it is built outside the context of a request, will be changed from 'http' to 'https' in Django 5.0.
2021-05-21Added tests for Sitemap.get_protocol().Rohith PR
2021-05-20Clarified docs about increasing the work factor for bcrypt hasher.yyyyyyyan
2021-05-20Changed IRC references to Libera.Chat.Mariusz Felisiak
2021-05-20Fixed note about ISP caching in docs.Ben Sturmfels
Regression in 7aabd6238028f4bb78d0687bbccc97bcf634e28b.
2021-05-20Renamed "object" argument of ModelAdmin.log_addition(), log_change(), and ↵David Sanders
log_deletion() methods.
2021-05-20Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value.David Sanders
2021-05-20Added note about culling in database cache backend docs.Mike Lissner
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-19Fixed #32765 -- Removed "for" HTML attribute from ReadOnlyPasswordHashWidget.David Sanders
ReadOnlyPasswordHashWidget doesn't have any labelable elements.
2021-05-19Doc'd that HttpRequest.path doesn't contain a query string.David D Lowe
2021-05-19Fixed #32740 -- Caught possible exception when initializing colorama.Carlton Gibson
2021-05-19Fixed #32766 -- Removed unused ORDER_TYPE_VAR.David Sanders
Unused since 5434ce231d75004bdbe5cf2b7b24ce67a2a6e737.
2021-05-19Fixed typo in docs/ref/contrib/admin/index.txt.David Sanders
2021-05-18Fixed #32379 -- Started deprecation toward changing default USE_TZ to True.Claude Paroz
Co-authored-by: Nick Pope <nick@nickpope.me.uk> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-18Fixed #32747 -- Prevented initialization of unused caches.Mariusz Felisiak
Thanks Alexander Ebral for the report. Regression in 98e05ccde440cc9b768952cc10bc8285f4924e1f.
2021-05-18Fixed #32733 -- Skipped system check for specifying type of auto-created ↵Rust Saiargaliev
primary keys on abstract models. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb.
2021-05-18Refs #31007 -- Added test for check for specifying type of auto-created ↵Rust Saiargaliev
primary keys from abstract models.
2021-05-18Fixed #32755 -- Corrected Model.get_absolute_url() example in docs.Girish Sontakke
2021-05-18Fixed #32754 -- Made AdminSite.catch_all_view() respect SCRIPT_NAME.Slava Skvortsov
Regression in ba31b0103442ac891fb3cb98f316781254e366c3.
2021-05-18Fixed #32317 -- Refactored loaddata command to make it extensible.William Schwartz
Moved deeply nested blocks out of inner loops to improve readability and maintainability. Thanks to Mariusz Felisiak, Shreyas Ravi, and Paolo Melchiorre for feedback.
2021-05-17Fixed #32750 -- Fixed crash of Extract() transform on OuterRef() expressions.Artur Beltsov
Thanks Simon Charette for the review.
2021-05-17Fixed #32720 -- Added configuration and docs for Sphinx link checker.Nick Pope
We explicitly ignore checking anchors for line-range anchors on GitHub which are dynamically generated and, otherwise, show up as broken links. See https://github.com/sphinx-doc/sphinx/issues/7388#issuecomment-739961689. We also ignore links to resources that require authentication.
2021-05-17Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.Nick Pope