mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Merge pull request #6813 from dalvtor/fix-schemas-docs
Fixes import in the schemas documentation
This commit is contained in:
commit
4991e4dbbe
|
@ -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