diff options
Diffstat (limited to 'docs/ref/contrib')
| -rw-r--r-- | docs/ref/contrib/flatpages.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/sites.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/syndication.txt | 2 |
3 files changed, 3 insertions, 3 deletions
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 </topics/http/urls>`:: +to hardcode their URLs in the :doc:`URLconf </topics/http/urls>`:: 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. |
