From e6bcc4a3fe55f8b11d4e4ef96059e54d0450c7da Mon Sep 17 00:00:00 2001 From: John Eismeier <32205350+jeis2497052@users.noreply.github.com> Date: Wed, 21 Feb 2018 12:39:29 -0500 Subject: [PATCH] Propose fix typos (#1897) --- docs/api/examples.md | 4 ++-- docs/installation/ldap.md | 2 +- docs/miscellaneous/shell.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/examples.md b/docs/api/examples.md index 76471c4eb..dce088cb6 100644 --- a/docs/api/examples.md +++ b/docs/api/examples.md @@ -5,7 +5,7 @@ Supported HTTP methods: * `GET`: Retrieve an object or list of objects * `POST`: Create a new object * `PUT`: Update an existing object, all mandatory fields must be specified -* `PATCH`: Updates an existing object, only specifiying the field to be changed +* `PATCH`: Updates an existing object, only specifying the field to be changed * `DELETE`: Delete an existing object To authenticate a request, attach your token in an `Authorization` header: @@ -144,4 +144,4 @@ $ curl -v -X DELETE -H "Authorization: Token d2f763479f703d80de0ec15254237bc651f * Closing connection 0 ``` -The response to a successfull `DELETE` request will have code 204 (No Content); the body of the response will be empty. +The response to a successful `DELETE` request will have code 204 (No Content); the body of the response will be empty. diff --git a/docs/installation/ldap.md b/docs/installation/ldap.md index 5aeec0eb1..d8053da48 100644 --- a/docs/installation/ldap.md +++ b/docs/installation/ldap.md @@ -87,7 +87,7 @@ AUTH_LDAP_USER_ATTR_MAP = { from django_auth_ldap.config import LDAPSearch, GroupOfNamesType # This search ought to return all groups to which the user belongs. django_auth_ldap uses this to determine group -# heirarchy. +# hierarchy. AUTH_LDAP_GROUP_SEARCH = LDAPSearch("dc=example,dc=com", ldap.SCOPE_SUBTREE, "(objectClass=group)") AUTH_LDAP_GROUP_TYPE = GroupOfNamesType() diff --git a/docs/miscellaneous/shell.md b/docs/miscellaneous/shell.md index df92cb7cd..5afd7876d 100644 --- a/docs/miscellaneous/shell.md +++ b/docs/miscellaneous/shell.md @@ -1,4 +1,4 @@ -NetBox includes a Python shell withing which objects can be directly queried, created, modified, and deleted. To enter the shell, run the following command: +NetBox includes a Python shell within which objects can be directly queried, created, modified, and deleted. To enter the shell, run the following command: ``` ./manage.py nbshell @@ -86,7 +86,7 @@ The `count()` method can be appended to the queryset to return a count of object 982 ``` -Relationships with other models can be traversed by concatenting field names with a double-underscore. For example, the following will return all devices assigned to the tenant named "Pied Piper." +Relationships with other models can be traversed by concatenating field names with a double-underscore. For example, the following will return all devices assigned to the tenant named "Pied Piper." ``` >>> Device.objects.filter(tenant__name='Pied Piper')