mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-23 15:03:22 +03:00
Fix indentation of code example in chapter 7 (#5329)
This commit is contained in:
parent
be7657c672
commit
52e0f3ae08
|
@ -36,7 +36,7 @@ API schema.
|
||||||
We can now include a schema for our API, by including an autogenerated schema
|
We can now include a schema for our API, by including an autogenerated schema
|
||||||
view in our URL configuration.
|
view in our URL configuration.
|
||||||
|
|
||||||
```
|
```python
|
||||||
from rest_framework.schemas import get_schema_view
|
from rest_framework.schemas import get_schema_view
|
||||||
|
|
||||||
schema_view = get_schema_view(title='Pastebin API')
|
schema_view = get_schema_view(title='Pastebin API')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user