summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-06Fixed typo in regex for IPv6 literals in EmailValidator.qimingmafan
2021-08-06Refs #22123 -- Added more URLValidator test for invalid IPv6 literals.Mariusz Felisiak
2021-08-06Fixed #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-06Refs #32983 -- Removed unneeded related_name from test model definitions.Nick Touran
2021-08-05Fixed #27590 -- Allowed customizing a manifest file storage in ↵Jarosław Wygoda
ManifestFilesMixin.
2021-08-05Refs #32986 -- Moved TRANSLATOR_COMMENT_MARK to ↵Chris Jerdonek
django.utils.translation.template.
2021-08-05Fixed #32986 -- Removed unneeded str.find() call in Lexer.create_token().Chris Jerdonek
Unnecessary since 47ddd6a4082d55d8856b7e6beac553485dd627f7.
2021-08-05Fixed #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-04Fixed #29205 -- Corrected rendering of required attributes for ↵Jacob Walls
MultiValueField subfields.
2021-08-04Fixed #32855 -- Corrected BoundWidget.id_for_label() with custom auto_id.Jacob Rief
2021-08-04Fixed #29063 -- Fixed migrate crash when specifying a name of partially ↵Jacob Walls
applied squashed migrations.
2021-08-04Fixed typos in migrations tests, comments, and error message.Jacob Walls
2021-08-04Used assertRaisesMessage() to test ↵Mariusz Felisiak
MigrationLoader.get_migration_by_prefix()'s error messages.
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