From 316526d87731f48d2afaac40afface8e843be197 Mon Sep 17 00:00:00 2001 From: Daniel Alvarez Date: Tue, 16 Jul 2019 21:32:19 +0100 Subject: [PATCH] Fixes import in the schemas documentation --- docs/api-guide/schemas.md | 2 +- docs/community/3.10-announcement.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api-guide/schemas.md b/docs/api-guide/schemas.md index cc53e9c80..040c2ed14 100644 --- a/docs/api-guide/schemas.md +++ b/docs/api-guide/schemas.md @@ -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 = [ # ... diff --git a/docs/community/3.10-announcement.md b/docs/community/3.10-announcement.md index 584c75fb7..065dd3480 100644 --- a/docs/community/3.10-announcement.md +++ b/docs/community/3.10-announcement.md @@ -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 = [ # ...