From be402891cd78f484b7f67e486924975523516ced Mon Sep 17 00:00:00 2001 From: Ahmed Nassar Date: Mon, 14 Apr 2025 14:12:56 -0300 Subject: Fixed #36311 -- Unified spelling of "hardcode" and its variants in docs. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> --- docs/ref/contrib/flatpages.txt | 2 +- docs/ref/contrib/sites.txt | 2 +- docs/ref/contrib/syndication.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref/contrib') diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index 3722aca2b4..3d0aca9156 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -89,7 +89,7 @@ to place the pattern at the end of the other urlpatterns:: matched. Another common setup is to use flatpages for a limited set of known pages and -to hard code their URLs in the :doc:`URLconf `:: +to hardcode their URLs in the :doc:`URLconf `:: from django.contrib.flatpages import views diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index d69e4c8e81..f6c39feff7 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -137,7 +137,7 @@ For example:: # Do something else. pass -It's fragile to hard-code the site IDs like that, in case they change. The +It's fragile to hardcode the site IDs like that, in case they change. The cleaner way of accomplishing the same thing is to check the current site's domain:: diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt index d0a3cc41f7..a81b428d45 100644 --- a/docs/ref/contrib/syndication.txt +++ b/docs/ref/contrib/syndication.txt @@ -715,7 +715,7 @@ This example illustrates all possible attributes and methods for a Takes an item, as returned by items(), and returns a boolean. """ - item_guid_is_permalink = False # Hard coded value + item_guid_is_permalink = False # Hardcoded value # ITEM AUTHOR NAME -- One of the following three is optional. The # framework looks for them in this order. -- cgit v1.3