diff --git a/docs/coreapi/schemas.md b/docs/coreapi/schemas.md index 752373f0a..e7a418b80 100644 --- a/docs/coreapi/schemas.md +++ b/docs/coreapi/schemas.md @@ -412,7 +412,7 @@ return the schema. **urls.py:** urlpatterns = [ - url('/', schema_view), + path('', schema_view), ... ]