mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +03:00
Fixes import in the schemas documentation
This commit is contained in:
parent
0cb2523927
commit
316526d877
|
@ -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 = [
|
||||
# ...
|
||||
|
|
|
@ -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 = [
|
||||
# ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user