Fixes import in the schemas documentation

This commit is contained in:
Daniel Alvarez 2019-07-16 21:32:19 +01:00
parent 0cb2523927
commit 316526d877
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`:
```python
from rest_framework.schemas import get_schema_view()
from rest_framework.schemas import get_schema_view
urlpatterns = [
# ...

View File

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