Skip to content

Commit 4991e4d

Browse files
Merge pull request encode#6813 from dalvtor/fix-schemas-docs
Fixes import in the schemas documentation
2 parents 0cb2523 + 316526d commit 4991e4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api-guide/schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To route a `SchemaView`, use the `get_schema_view()` helper.
5151
In `urls.py`:
5252

5353
```python
54-
from rest_framework.schemas import get_schema_view()
54+
from rest_framework.schemas import get_schema_view
5555

5656
urlpatterns = [
5757
# ...

docs/community/3.10-announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ shortcut.
6767
In your `urls.py`:
6868

6969
```python
70-
from rest_framework.schemas import get_schema_view()
70+
from rest_framework.schemas import get_schema_view
7171

7272
urlpatterns = [
7373
# ...

0 commit comments

Comments
 (0)