mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Fix docs typos (#7006)
This commit is contained in:
parent
f98b6f3577
commit
a734e58d44
|
@ -84,7 +84,7 @@ urlpatterns = [
|
|||
|
||||
### Customization
|
||||
|
||||
For customizations that you want to apply across the the entire API, you can subclass `rest_framework.schemas.openapi.SchemaGenerator` and provide it as an argument
|
||||
For customizations that you want to apply across the entire API, you can subclass `rest_framework.schemas.openapi.SchemaGenerator` and provide it as an argument
|
||||
to the `generateschema` command or `get_schema_view()` helper function.
|
||||
|
||||
For specific per-view customizations, you can subclass `AutoSchema`,
|
||||
|
|
|
@ -221,7 +221,7 @@ If the python `Markdown` library is installed, then [markdown syntax][markdown]
|
|||
[ref]: http://example.com/activating-accounts
|
||||
"""
|
||||
|
||||
Note that when using viewsets the basic docstring is used for all generated views. To provide descriptions for each view, such as for the the list and retrieve views, use docstring sections as described in [Schemas as documentation: Examples][schemas-examples].
|
||||
Note that when using viewsets the basic docstring is used for all generated views. To provide descriptions for each view, such as for the list and retrieve views, use docstring sections as described in [Schemas as documentation: Examples][schemas-examples].
|
||||
|
||||
#### The `OPTIONS` method
|
||||
|
||||
|
|
|
@ -251,7 +251,7 @@ class TestHyperlinkedIdentityField(APISimpleTestCase):
|
|||
def test_improperly_configured(self):
|
||||
"""
|
||||
If a matching view cannot be reversed with the given instance,
|
||||
the the user has misconfigured something, as the URL conf and the
|
||||
the user has misconfigured something, as the URL conf and the
|
||||
hyperlinked field do not match.
|
||||
"""
|
||||
self.field.reverse = fail_reverse
|
||||
|
|
Loading…
Reference in New Issue
Block a user