| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-08-06 | Fixed typo in regex for IPv6 literals in EmailValidator. | qimingmafan | |
| 2021-08-06 | Fixed #32983 -- Added system check for redundant related_name on symmetrical ↵ | Nick Touran | |
| M2M fields. Since ManyToManyFields defined with `symmetrical=True` do not add a related field to the target model, including a `related_name` argument will never do what the coder likely expects. This makes including a related_name with a symmetrical model raise a system check warning. ticket-32983 | |||
| 2021-08-05 | Fixed #27590 -- Allowed customizing a manifest file storage in ↵ | Jarosław Wygoda | |
| ManifestFilesMixin. | |||
| 2021-08-05 | Refs #32986 -- Moved TRANSLATOR_COMMENT_MARK to ↵ | Chris Jerdonek | |
| django.utils.translation.template. | |||
| 2021-08-05 | Fixed #32986 -- Removed unneeded str.find() call in Lexer.create_token(). | Chris Jerdonek | |
| Unnecessary since 47ddd6a4082d55d8856b7e6beac553485dd627f7. | |||
| 2021-08-05 | Fixed #32988 -- Prevented creation of more test databases than TestCases. | Mariusz Felisiak | |
| DiscoverRunner.parallel is used in setup_databases() and teardown_databases() to control the number of test databases. Regression in cb6c19749d342c3dc0f97d89ff6887b220cf45b8. | |||
| 2021-08-04 | Fixed #29205 -- Corrected rendering of required attributes for ↵ | Jacob Walls | |
| MultiValueField subfields. | |||
| 2021-08-04 | Fixed #32855 -- Corrected BoundWidget.id_for_label() with custom auto_id. | Jacob Rief | |
| 2021-08-04 | Fixed #29063 -- Fixed migrate crash when specifying a name of partially ↵ | Jacob Walls | |
| applied squashed migrations. | |||
| 2021-08-04 | Fixed typos in migrations tests, comments, and error message. | Jacob Walls | |
| 2021-08-03 | Fixed #32984 -- Allowed customizing a deletion field widget in formsets. | Ties Jan Hefting | |
| 2021-08-03 | Fixed #31621 -- Added support for '--parallel auto' to test management command. | Adam Johnson | |
| 2021-08-03 | Refs #32800 -- Renamed _compare_masked_tokens() to _does_token_match(). | Chris Jerdonek | |
| 2021-08-02 | Fixed #32919 -- Optimized lexing & parsing of templates. | Keryn Knight | |
| This optimizes: - Lexer.create_token() by avoiding startswith() calls, - Parser.parse() by re-using the token type enum's value, - Parser.extend_nodelist() by removing unnecessary isinstance() check, - some Node subclasses by removing the implicit "nodelist" from "child_nodelists", - Variable.__init__() by avoiding startswith() calls. | |||
| 2021-08-02 | Simplified serializing HTTP response headers. | Illia Volochii | |
| Since ResponseHeaders was introduced, header names and values are stored as strings. There is no need to check whether they are bytes. Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-08-02 | Refs #32956 -- Corrected spelling of "gray". | David Smith | |
| 2021-08-02 | Refs #32956 -- Corrected usage of "insure" and "assure". | David Smith | |
| 2021-07-30 | Refs #32956 -- Updated words ending in -wards. | David Smith | |
| AP styleguide: Virtually none of the words ending with -wards end with an s. | |||
| 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-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 | 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 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 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 | 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-26 | Fixed #32743 -- Added foreign key altering when altering type of referenced ↵ | David Wobrock | |
| primary key with MTI. | |||
| 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 | Fixed #32902 -- Fixed CsrfViewMiddleware.process_response()'s cookie reset ↵ | Chris Jerdonek | |
| logic. Thanks Florian Apolloner and Shai Berger for reviews. | |||
| 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 | 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 | 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 | 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. | |||
| 2021-07-19 | Removed unnecessary tuple construction in Node.__eq__(). | Nick Pope | |
