Merge pull request #6813 from dalvtor/fix-schemas-docs

Fixes import in the schemas documentation
This commit is contained in:
Carlton Gibson 2019-07-16 23:03:13 +02:00 committed by GitHub
commit 4991e4dbbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ To route a `SchemaView`, use the `get_schema_view()` helper.
In `urls.py`: In `urls.py`:
```python ```python
from rest_framework.schemas import get_schema_view() from rest_framework.schemas import get_schema_view
urlpatterns = [ urlpatterns = [
# ... # ...

View File

@ -67,7 +67,7 @@ shortcut.
In your `urls.py`: In your `urls.py`:
```python ```python
from rest_framework.schemas import get_schema_view() from rest_framework.schemas import get_schema_view
urlpatterns = [ urlpatterns = [
# ... # ...