summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-04Refs #32074 -- Fixed CommandTests.test_subparser_invalid_option on Python 3.10+.Michał Górny
Python 3.10.0rc1 changed the error messages issued by argparse on invalid choice to include the argument name. Update the expected test output to account for that.
2021-08-03Fixed #32984 -- Allowed customizing a deletion field widget in formsets.Ties Jan Hefting
2021-08-03Fixed typos in tests/forms_tests/tests/test_formsets.py.Ties Jan Hefting
2021-08-03Fixed #31621 -- Added support for '--parallel auto' to test management command.Adam Johnson
2021-08-03Refs #31621 -- Added more tests for test --parallel option.Adam Johnson
2021-08-03Refs #32800 -- Added tests of more CSRF functions.Chris Jerdonek
2021-08-03Refs #32800 -- Renamed _compare_masked_tokens() to _does_token_match().Chris Jerdonek
2021-08-02Updated BaseDatabaseFeatures link in testing tools docs.Lauri Tirkkonen
2021-08-02Fixed #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-02Added test for TemplateSyntaxError when variables begin with underscores.Mariusz Felisiak
2021-08-02Simplified 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-02Added stub release notes for Django 3.2.7.Carlton Gibson
2021-08-02Clarified URL patterns in tutorial 3.ilu_vatar_
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2021-08-02Refs #32956 -- Corrected spelling of "gray".David Smith
2021-08-02Refs #32956 -- Corrected usage of "insure" and "assure".David Smith
2021-08-02Confirmed release date for Django 3.2.6.Carlton Gibson
2021-07-30Refs #32956 -- Updated words ending in -wards.David Smith
AP styleguide: Virtually none of the words ending with -wards end with an s.
2021-07-30Refs #31676 -- Updated technical board description in organization docs.Mariusz Felisiak
According to DEP 0010.
2021-07-30Refs #31676 -- Added Mergers and Releasers to organization docs.Mariusz Felisiak
According to DEP 0010.
2021-07-30Refs #31676 -- Removed Core team from organization docs.Mariusz Felisiak
According to DEP 0010.
2021-07-30Refs #32966 -- Refactored out DateTimeCheckMixin._check_if_value_fixed().Chris Jerdonek
2021-07-30Refs #32966 -- Simplified the _check_fix_default_value() implementations.Chris Jerdonek
2021-07-30Refs #32966 -- Added _to_naive() and _get_naive_now() for use in ↵Chris Jerdonek
DateTimeCheckMixin classes.
2021-07-30Fixed #32966 -- Fixed TimeField.check() crash for timezone-aware times in ↵Chris Jerdonek
default when USE_TZ = True.
2021-07-30Removed unused and unnecessary words from docs/spelling_wordlist.David Smith
This removes unused words and words contained within the Enchant dictionary.
2021-07-29Refs #32880 -- Made remaining titles consistent in how-to documents.Mariusz Felisiak
Follow up to 22fbebc7444c8974f101c146f0fc18fe64ab48f6.
2021-07-29Refs #32916 -- Replaced request.csrf_cookie_needs_reset with ↵Chris Jerdonek
request.META['CSRF_COOKIE_NEEDS_UPDATE'].
2021-07-29Fixed #32916 -- Combined request.META['CSRF_COOKIE_USED'] and ↵Chris Jerdonek
request.csrf_cookie_needs_reset.
2021-07-29Used Ubuntu 18.04 for docs GitHub action.Mariusz Felisiak
2021-07-29Fixed #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-29Made minor edits to QuerySet.update_or_create() docs.Abhyudai
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-07-28Refs #32956 -- Lowercased "internet" and "email" where appropriate.David Smith
2021-07-28Fixed typo in docs/ref/contrib/admin/index.txt.Pēteris Caune
2021-07-28Fixed #32959 -- Moved tests URLs to validators.tests.chrishna1
2021-07-28Refs #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-28Refs #32946 -- Changed Query.add_filter() to take two arguments.Keryn Knight
2021-07-28Optimized BaseDatabaseSchemaEditor._effective_default() a bit,Chris Jerdonek
This eliminates an unneeded call to datetime.now() when field.get_internal_type() equals "DateTimeField".
2021-07-27Refs #32962 -- Simplified NULL logic in ↵Chris Jerdonek
BaseDatabaseSchemaEditor._iter_column_sql().
2021-07-27Fixed #32962 -- Consolidated string concatenations in ↵Chris Jerdonek
BaseDatabaseSchemaEditor.column_sql().
2021-07-27Fixed #32933 -- Documented BoundField.initial as preferred over ↵Chris Jerdonek
Form.get_initial_for_field().
2021-07-27Refs #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-27Refs #32743 -- Fixed recreation of foreign key constraints when altering ↵Jordan Bae
type of referenced primary key with MTI. Follow up to 325d7710ce9f6155bb55610ad6b4580d31263557.
2021-07-27Updated Python license for 2021.Mariusz Felisiak
2021-07-26Fixed #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-26Fixed #32743 -- Added foreign key altering when altering type of referenced ↵David Wobrock
primary key with MTI.
2021-07-26Fixed #32957 -- Improved visibility of arguments sections in Model.save() docs.abhiabhi94
2021-07-26Fixed #32947 -- Fixed hash() crash on reverse M2M relation when ↵Tom Wojcik
through_fields is a list. Regression in c32d8f33d8e988a376e44997b8f3606d821f305e.
2021-07-23Fixed #32329 -- Made CsrfViewMiddleware catch more specific UnreadablePostError.Virtosu Bogdan
Thanks Chris Jerdonek for the review.
2021-07-23Refs #32329 -- Allowed specifying request class in csrf_tests test hooks.Virtosu Bogdan