mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 13:00:12 +03:00
sill changing docs
This commit is contained in:
parent
ba8d56b64e
commit
6ff9e872a8
|
@ -147,13 +147,10 @@ May be used to pass a canonical URL for the schema.
|
|||
|
||||
#### `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
|
||||
ROOT_URLCONF setting.
|
||||
|
||||
Useful for `Django multihost snippet`
|
||||
https://code.djangoproject.com/wiki/MultiHostMiddleware
|
||||
|
||||
schema_view = get_schema_view(
|
||||
title='Server Monitoring API',
|
||||
url='https://www.example.org/api/',
|
||||
|
|
Loading…
Reference in New Issue
Block a user