Browse Source

Propose fix typos (#1897)

John Eismeier 7 years ago
parent
commit
e6bcc4a3fe
3 changed files with 5 additions and 5 deletions
  1. 2 2
      docs/api/examples.md
  2. 1 1
      docs/installation/ldap.md
  3. 2 2
      docs/miscellaneous/shell.md

+ 2 - 2
docs/api/examples.md

@@ -5,7 +5,7 @@ Supported HTTP methods:
 * `GET`: Retrieve an object or list of objects
 * `GET`: Retrieve an object or list of objects
 * `POST`: Create a new object
 * `POST`: Create a new object
 * `PUT`: Update an existing object, all mandatory fields must be specified
 * `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
 * `DELETE`: Delete an existing object
 
 
 To authenticate a request, attach your token in an `Authorization` header:
 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
 * 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.

+ 1 - 1
docs/installation/ldap.md

@@ -87,7 +87,7 @@ AUTH_LDAP_USER_ATTR_MAP = {
 from django_auth_ldap.config import LDAPSearch, GroupOfNamesType
 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
 # 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,
 AUTH_LDAP_GROUP_SEARCH = LDAPSearch("dc=example,dc=com", ldap.SCOPE_SUBTREE,
                                     "(objectClass=group)")
                                     "(objectClass=group)")
 AUTH_LDAP_GROUP_TYPE = GroupOfNamesType()
 AUTH_LDAP_GROUP_TYPE = GroupOfNamesType()

+ 2 - 2
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
 ./manage.py nbshell
@@ -86,7 +86,7 @@ The `count()` method can be appended to the queryset to return a count of object
 982
 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')
 >>> Device.objects.filter(tenant__name='Pied Piper')