| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-07-30 | Refs #32966 -- Refactored out DateTimeCheckMixin._check_if_value_fixed(). | Chris Jerdonek | |
| 2021-07-30 | Refs #32966 -- Simplified the _check_fix_default_value() implementations. | Chris Jerdonek | |
| 2021-07-30 | Refs #32966 -- Added _to_naive() and _get_naive_now() for use in ↵ | Chris Jerdonek | |
| DateTimeCheckMixin classes. | |||
| 2021-07-30 | Fixed #32966 -- Fixed TimeField.check() crash for timezone-aware times in ↵ | Chris Jerdonek | |
| default when USE_TZ = True. | |||
| 2021-07-30 | Removed unused and unnecessary words from docs/spelling_wordlist. | David Smith | |
| This removes unused words and words contained within the Enchant dictionary. | |||
| 2021-07-29 | Refs #32880 -- Made remaining titles consistent in how-to documents. | Mariusz Felisiak | |
| Follow up to 22fbebc7444c8974f101c146f0fc18fe64ab48f6. | |||
| 2021-07-29 | Refs #32916 -- Replaced request.csrf_cookie_needs_reset with ↵ | Chris Jerdonek | |
| request.META['CSRF_COOKIE_NEEDS_UPDATE']. | |||
| 2021-07-29 | Fixed #32916 -- Combined request.META['CSRF_COOKIE_USED'] and ↵ | Chris Jerdonek | |
| request.csrf_cookie_needs_reset. | |||
| 2021-07-29 | Used Ubuntu 18.04 for docs GitHub action. | Mariusz Felisiak | |
| 2021-07-29 | Fixed #23895 -- Prevented pickling of ResolverMatch. | Jonathan Davis | |
| Pickling a ResolverMatch did not work correctly in many cases, especially with CBVs and URLResolvers in the list of tried URL paths. | |||
| 2021-07-29 | Made minor edits to QuerySet.update_or_create() docs. | Abhyudai | |
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 2021-07-28 | Refs #32956 -- Lowercased "internet" and "email" where appropriate. | David Smith | |
| 2021-07-28 | Fixed typo in docs/ref/contrib/admin/index.txt. | Pēteris Caune | |
| 2021-07-28 | Fixed #32959 -- Moved tests URLs to validators.tests. | chrishna1 | |
| 2021-07-28 | Refs #32946 -- Changed internal usage of dynamic Q() objects construction to ↵ | Keryn Knight | |
| use non-kwargs initialization. This prefers non-kwargs construction of dynamically generated Q() objects to create a single Q() object instead of many and then combining them, where possible. | |||
| 2021-07-28 | Refs #32946 -- Changed Query.add_filter() to take two arguments. | Keryn Knight | |
| 2021-07-28 | Optimized BaseDatabaseSchemaEditor._effective_default() a bit, | Chris Jerdonek | |
| This eliminates an unneeded call to datetime.now() when field.get_internal_type() equals "DateTimeField". | |||
| 2021-07-27 | Refs #32962 -- Simplified NULL logic in ↵ | Chris Jerdonek | |
| BaseDatabaseSchemaEditor._iter_column_sql(). | |||
| 2021-07-27 | Fixed #32962 -- Consolidated string concatenations in ↵ | Chris Jerdonek | |
| BaseDatabaseSchemaEditor.column_sql(). | |||
| 2021-07-27 | Fixed #32933 -- Documented BoundField.initial as preferred over ↵ | Chris Jerdonek | |
| Form.get_initial_for_field(). | |||
| 2021-07-27 | Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. | David Smith | |
| This also removes unnecessary comments with the previous spelling. AP Stylebook has a short entry to advise the preferred spelling for "en-us". "Afterwards" is preferred in British English. | |||
| 2021-07-27 | Refs #32743 -- Fixed recreation of foreign key constraints when altering ↵ | Jordan Bae | |
| type of referenced primary key with MTI. Follow up to 325d7710ce9f6155bb55610ad6b4580d31263557. | |||
| 2021-07-27 | Updated Python license for 2021. | Mariusz Felisiak | |
| 2021-07-26 | Fixed #32906 -- Added docs and tests for using key and index lookups on ↵ | abhiabhi94 | |
| JSONBAgg results. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-07-26 | Fixed #32743 -- Added foreign key altering when altering type of referenced ↵ | David Wobrock | |
| primary key with MTI. | |||
| 2021-07-26 | Fixed #32957 -- Improved visibility of arguments sections in Model.save() docs. | abhiabhi94 | |
| 2021-07-26 | Fixed #32947 -- Fixed hash() crash on reverse M2M relation when ↵ | Tom Wojcik | |
| through_fields is a list. Regression in c32d8f33d8e988a376e44997b8f3606d821f305e. | |||
| 2021-07-23 | Fixed #32329 -- Made CsrfViewMiddleware catch more specific UnreadablePostError. | Virtosu Bogdan | |
| Thanks Chris Jerdonek for the review. | |||
| 2021-07-23 | Refs #32329 -- Allowed specifying request class in csrf_tests test hooks. | Virtosu Bogdan | |
| 2021-07-23 | Fixed #32913 -- Made watchman reloader tests less flaky. | Nick Pope | |
| 2021-07-23 | Refs #32902 -- Moved ensure_csrf_cookie_view after protected_view. | Chris Jerdonek | |
| 2021-07-23 | Fixed #32902 -- Fixed CsrfViewMiddleware.process_response()'s cookie reset ↵ | Chris Jerdonek | |
| logic. Thanks Florian Apolloner and Shai Berger for reviews. | |||
| 2021-07-23 | Refs #32902 -- Added CSRF test when rotate_token() is called between ↵ | Chris Jerdonek | |
| resetting the token and processing response. | |||
| 2021-07-23 | Fixed #32950 -- Removed myproject from imports in admin docs where appropriate. | Abhyudai | |
| 2021-07-22 | Fixed #32275 -- Added scrypt password hasher. | ryowright | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-07-22 | Fixed #32930 -- Fixed URLValidator when port numbers < 10. | Wu Haotian | |
| 2021-07-22 | Added more test cases with port numbers for URLValidator. | Wu Haotian | |
| 2021-07-22 | Refs #32508 -- Raised TypeError/ValueError instead of using "assert" in ↵ | Mariusz Felisiak | |
| encode() methods of some password hashers. | |||
| 2021-07-22 | Fixed #32951 -- Removed Query.where_class & co. | Nick Pope | |
| Unused since 3caf957ed5eaa831a485abcb89f27266dbf3e82b. | |||
| 2021-07-21 | Refs #32949 -- Adjusted release note wording. | Carlton Gibson | |
| 2021-07-21 | Fixed #32949 -- Restored invalid number handling in DecimalField.validate(). | yakimka | |
| DecimalField must itself validate() values, such as NaN, which cannot be passed to validators, such as MaxValueValidator, during the run_validators() phase. Regression in cc3d24d7d577f174937a0744d886c4c7123cfa85. | |||
| 2021-07-20 | Fixed #32704 -- Fixed list of deferred fields when chaining QuerySet.defer() ↵ | David Wobrock | |
| after only(). | |||
| 2021-07-20 | Added more tests for chaining QuerySet.defer() after only(). | David Wobrock | |
| 2021-07-20 | Fixed #32944 -- Avoided unnecessary WhereNode.add() calls. | Keryn Knight | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-07-20 | Refs #32940 -- Removed unnecessary branch in Node.add(). | Keryn Knight | |
| The "data in self.children" branch was causing data.__eq__ to be called for each entries in "self.children" which resulted in a huge slowdown during queryset construction. It's purpose was to prevent queries of the form Model.objects.filter(foo='bar').filter(foo='bar') from resulting in WHERE foo='bar' AND foo='bar' but it's not covered by the suite and has arguable performance benefits since it's not very common and SQL engines are usually very good at folding/optimizing these. See also #32632 for prior discussion around comparing data to the Node's children. Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-07-20 | Refs #32940 -- Removed Node.add()'s unused squash parameter. | Keryn Knight | |
| Unused since its introduction in d3f00bd5706b35961390d3814dd7e322ead3a9a3. Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-07-19 | Refs #10929 -- Deprecated forced empty result value for PostgreSQL aggregates. | Nick Pope | |
| This deprecates forcing a return value for ArrayAgg, JSONBAgg, and StringAgg when there are no rows in the query. Now that we have a ``default`` argument for aggregates, we want to revert to returning the default of ``None`` which most aggregate functions return and leave it up to the user to decide what they want to be returned by default. | |||
| 2021-07-19 | Fixed #10929 -- Added default argument to aggregates. | Nick Pope | |
| Thanks to Simon Charette and Adam Johnson for the reviews. | |||
| 2021-07-19 | Fixed #32941 -- Removed get_format_modules()'s unused reverse argument. | Keryn Knight | |
| Unused since 0d8b523422fda71baa10807d5aebefd34bad7962. | |||
