From ba8d56b64ec37c28f5a75ad27fea32875eb03f19 Mon Sep 17 00:00:00 2001 From: Roman Vasilyev Date: Thu, 5 Jan 2017 12:15:25 -0800 Subject: [PATCH] documentation update --- docs/api-guide/schemas.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/api-guide/schemas.md b/docs/api-guide/schemas.md index 7a1d047b1..1290f6948 100644 --- a/docs/api-guide/schemas.md +++ b/docs/api-guide/schemas.md @@ -147,8 +147,11 @@ May be used to pass a canonical URL for the schema. #### `urlconf` -May be used to pass a nondefault url configuration -useful for `Django multihost snippet` +String representing import path to the URL conf that you want +to generate an API schema for. This defaults to the value of Django's +ROOT_URLCONF setting. + +Useful for `Django multihost snippet` https://code.djangoproject.com/wiki/MultiHostMiddleware schema_view = get_schema_view(