From 9932866e3a7693930a90a924014c10614820ea70 Mon Sep 17 00:00:00 2001 From: Clifford Gama Date: Sat, 13 Sep 2025 14:20:17 +0200 Subject: [PATCH 1/2] Refs #35667 -- Corrected usage of skip_file_prefixes in contributing docs. --- docs/internals/contributing/writing-code/submitting-patches.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/internals/contributing/writing-code/submitting-patches.txt b/docs/internals/contributing/writing-code/submitting-patches.txt index c8de8828fe02..035eb815cbde 100644 --- a/docs/internals/contributing/writing-code/submitting-patches.txt +++ b/docs/internals/contributing/writing-code/submitting-patches.txt @@ -295,7 +295,7 @@ deprecation ends. For example:: warnings.warn( "foo() is deprecated.", category=RemovedInDjangoXXWarning, - stacklevel=django_file_prefixes(), + skip_file_prefixes=django_file_prefixes(), ) old_private_helper() ... From c48904a225e2e8f02274257247d5b7d29c5fe183 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Fri, 5 Sep 2025 15:17:28 -0400 Subject: [PATCH 2/2] Fixed typo in docs/ref/contrib/contenttypes.txt. --- docs/ref/contrib/contenttypes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/contenttypes.txt b/docs/ref/contrib/contenttypes.txt index 2f0b45ff25fb..72bee36a0875 100644 --- a/docs/ref/contrib/contenttypes.txt +++ b/docs/ref/contrib/contenttypes.txt @@ -383,7 +383,7 @@ normal field object, these examples will *not* work: >>> TaggedItem.objects.get(content_object=guido) Likewise, :class:`~django.contrib.contenttypes.fields.GenericForeignKey`\s -does not appear in :class:`~django.forms.ModelForm`\s. +do not appear in :class:`~django.forms.ModelForm`\s. Reverse generic relations -------------------------