main
Commits on Nov 18, 2021
-
-
Refs #19721 -- Moved ModelAdmin.list_filter docs into a separate file.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
-
Configured Read The Docs to build all formats.
`all` acts as an alias for all formats ([docs](https://docs.readthedocs.io/en/stable/config-file/v2.html#formats)). Whilst there are only three formats right now, this would auto expand to other formats in the future, which seems desirable?
Commits on Nov 17, 2021
Commits on Nov 16, 2021
-
Fixed #28357 -- Fixed ModelAdmin.prepopulated_fields on newly added s…
…tacked inline. Thanks Jakob Köhler for the initial patch.
Commits on Nov 15, 2021
-
Fixed #33287 -- Made GeoJSON serializer use json.loads() instead of e…
…val(). Thanks David Wyde for the report.
-
Fixed #33278 -- Improved error for connection/query attempts against …
…disallowed databases in tests.
-
Refs #33288 -- Removed SQLite's DatabaseIntrospection._get_foreign_ke…
…y_constraints(). The get_relations() method returns the exact same data in a more generic format.
-
Fixed #33288 -- Made SQLite introspection use information schema for …
…relations. Previous solution was using brittle and complex parsing rules to extract them from the SQL used to define the tables. Removed a now unnecessary unit test that ensured the removed parsing logic accounted for optional spacing.
-
Refs #33288 -- Made SQLite introspection raise DatabaseError on nonex…
…istent tables. All the other backends behave this way and we had to make adjustments to our test suite to account for this discrepancy. This also allows SQLite's get_relations() not to raise on a nonexistent table while making sure the InspectDBTestCase.test_introspection_errors test which ensures an error during introspection is surfaced in generated models files still passes.
Commits on Nov 12, 2021
-
Fixed #33161 -- Enabled durability check for nested atomic blocks in …
…TestCase. Co-Authored-By: Adam Johnson <me@adamj.eu>
-
-
Fixed #33279 -- Fixed handling time zones with "-" sign in names.
Thanks yakimka for the report. Regression in fde9b7d.
-
Commits on Nov 11, 2021
-
Fixed #33269 -- Made AnonymousUser/PermissionsMixin.has_perms() raise…
… ValueError on string or non-iterable perm_list.
-
Fixed #6106 -- Prevented makemessages from changing .po files when up…
… to date. Co-authored-by: Daniyal Abbasi <abbasi.daniyal98@gmail.com>
Commits on Nov 10, 2021
-
Removed DatabaseIntrospection.get_key_columns().
Thanks Simon Charette for the report.
-
Fixed DatabaseIntrospection.get_relations() docstring.
The foreign keys are "in" the given table, not "to" it.
Commits on Nov 9, 2021
-
Refs #33263 -- Added warning to BaseDeleteView when delete() method i…
…s overridden. Follow up to 3a45fea.
-
Refs #16063 -- Added tests for searching against multiple related fie…
…lds in admin changelist.
Commits on Nov 8, 2021
Commits on Nov 5, 2021
-
Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to …
…ManifestStaticFilesStorage." This reverts commit 91e2183. `export` and `import` directives have several syntax variants and not all of them were properly covered. Thanks Hervé Le Roy for the report.
-
Fixed #33235 -- Removed "for = ..." from MultiWidget's <label>.
This improves accessibility for screen reader users.
Commits on Nov 4, 2021
-
Fixed #33237 -- Fixed detecting source maps in ManifestStaticFilesSto…
…rage for multiline files. Switched regex to multiline mode in order to match per-line, rather than against the whole file. Thanks to Joseph Abrahams for the report. Regression in 781b442.
-
Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-dis…
…crete range fields.
-
Refs #29738 -- Added test for serializing psycopg2's NumericRange wit…
…h DecimalRangeField in migrations.
-
-