diff --git a/docs/docs/guides/api-docs.md b/docs/docs/guides/api-docs.md index 771ba7eb..5019eb30 100644 --- a/docs/docs/guides/api-docs.md +++ b/docs/docs/guides/api-docs.md @@ -104,7 +104,7 @@ In a Django template, for example: To create your own view for OpenaAPI - create a class inherited from DocsBase and overwrite `render_page`` method: ```python -form ninja.openapi.docs import DocsBase +from ninja.openapi.docs import DocsBase class MyDocsViewer(DocsBase) def render_page(self, request, api):