From 6025eab3c509b4de922117e16866bbfe0ee99aa6 Mon Sep 17 00:00:00 2001 From: Nilesh Kumar Pahari Date: Thu, 18 Dec 2025 16:21:50 +0530 Subject: Fixed #36806 -- Added system check for null kwarg in GeneratedField. The null argument has no effect on GeneratedField since the nullability of the column depends on the database and expression used. --- docs/ref/models/fields.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/ref/models') diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index a87d7261a7..fe4d764ab3 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1377,6 +1377,9 @@ materialized view. backends that support it (SQLite, PostgreSQL, and Oracle) and marked as deferred otherwise. +:attr:`~Field.null` has no effect on ``GeneratedField`` since whether the +column is nullable depends on the database and expression used. + ``GenericIPAddressField`` ------------------------- -- cgit v1.3