From b5611c94ea3860f6c874033c07a4ffd3e5c07112 Mon Sep 17 00:00:00 2001 From: Richard Terry Date: Tue, 24 Sep 2024 12:23:53 -0400 Subject: [PATCH] Fix tutorial syntax issue fixes #15 --- docs/changelog.rst | 12 ++++++++++++ docs/tutorial.rst | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 60a0eaf..df84de5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,6 +2,18 @@ Changelog ========= +0.9.1 - TBC +----------- + +Docs: + +* Fix incorrect tutorial syntax (#15) + +Thanks to: + +* Simon Willison (simonw) for providing the tutorial syntax fix (#15) + + 0.9.0 - 2024-09-21 ------------------ diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 368e375..f663509 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -63,7 +63,7 @@ Create an API endpoint We use `Django Ninja `_ to provide a simple syntax for defining APIs - nanodjango provides a convenient ``@app.api`` decorator which -initialises and registers a ``NinjaAPI`` instance:: +initialises and registers a ``NinjaAPI`` instance: .. code-block:: python