sill changing docs

This commit is contained in:
Roman Vasilyev 2017-01-06 08:48:41 -08:00
parent ba8d56b64e
commit 6ff9e872a8

View File

@ -147,13 +147,10 @@ May be used to pass a canonical URL for the schema.
#### `urlconf` #### `urlconf`
String representing import path to the URL conf that you want A string representing the import path to the URL conf that you want
to generate an API schema for. This defaults to the value of Django's to generate an API schema for. This defaults to the value of Django's
ROOT_URLCONF setting. ROOT_URLCONF setting.
Useful for `Django multihost snippet`
https://code.djangoproject.com/wiki/MultiHostMiddleware
schema_view = get_schema_view( schema_view = get_schema_view(
title='Server Monitoring API', title='Server Monitoring API',
url='https://www.example.org/api/', url='https://www.example.org/api/',