site_name: Django Ninja site_description: Django Ninja - Django REST framework with high performance, easy to learn, fast to code. site_url: https://django-ninja.dev repo_name: vitalik/django-ninja repo_url: https://github.com/vitalik/django-ninja edit_uri: "" extra_css: - extra.css extra_javascript: - javascripts/ask-ai-button.js theme: name: material font: false palette: - media: "(prefers-color-scheme)" primary: green toggle: icon: material/brightness-auto name: Switch to light mode - media: "(prefers-color-scheme: light)" scheme: default primary: green toggle: icon: material/weather-night name: Switch to dark mode - media: "(prefers-color-scheme: dark)" scheme: slate primary: green toggle: icon: material/weather-sunny name: Switch to light mode logo: img/docs-logo.png favicon: img/favicon.svg language: en features: - navigation.expand - search.highlight - search.suggest icon: repo: fontawesome/brands/github-alt nav: - Intro: index.md - motivation.md - Tutorial: - "First Steps": tutorial/index.md - "Parsing Input": tutorial/step2.md - "Handling Responses": tutorial/step3.md - Other Tutorials: - tutorial/other/video.md - tutorial/other/crud.md - How-to Guides: - Parsing input: - guides/input/operations.md - guides/input/path-params.md - guides/input/query-params.md - guides/input/body.md - guides/input/form-params.md - guides/input/file-params.md - guides/input/request-parsers.md - guides/input/filtering.md - Handling responses: - Defining a Schema: guides/response/index.md - guides/response/temporal_response.md - Generating a Schema from Django models: guides/response/django-pydantic.md - Generating a Schema dynamically: guides/response/django-pydantic-create-schema.md - guides/response/config-pydantic.md - guides/response/pagination.md - guides/response/response-renderers.md - Splitting your API with Routers: guides/routers.md - guides/decorators.md - guides/authentication.md - guides/throttling.md - guides/testing.md - guides/api-docs.md - guides/errors.md - guides/urls.md - guides/async-support.md - guides/versioning.md - Reference: - NinjaAPI class: reference/api.md - reference/csrf.md - reference/operations-parameters.md - reference/management-commands.md - reference/settings.md - releases.md - help.md - Enhancement Proposals: - Intro: proposals/index.md - proposals/cbv.md - proposals/v1.md - What's new in V1: whatsnew_v1.md markdown_extensions: - markdown_include.include - markdown.extensions.codehilite: guess_lang: false # Uncomment these 2 lines during development to more easily add highlights #- pymdownx.highlight: # linenums: true - abbr - codehilite - admonition - pymdownx.details - pymdownx.superfences plugins: - search - mkdocstrings: handlers: python: setup_commands: - from django.conf import settings - settings.configure()