From 2d36bca72aba7ab3518932befad1b537d34bf681 Mon Sep 17 00:00:00 2001 From: ducdetronquito Date: Fri, 15 Mar 2024 11:49:29 +0100 Subject: [PATCH 1/2] doc: Typo in django/basic_usage.md --- docs/howto/django/basic_usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/django/basic_usage.md b/docs/howto/django/basic_usage.md index 5e3d5c441..1b4e2c157 100644 --- a/docs/howto/django/basic_usage.md +++ b/docs/howto/django/basic_usage.md @@ -3,7 +3,7 @@ ## Defining tasks Add your tasks to `tasks.py` in your Django app. -Inside tasks, you can use the classical ORM API or the [async ORM API] to access your models. +Inside tasks, you can use the classical ORM API or the async ORM API to access your models. ```python from procrastinate.contrib.django import app From d764a5ea9c05de9414874e80db39de8f959e3b54 Mon Sep 17 00:00:00 2001 From: Joachim Jablon Date: Fri, 15 Mar 2024 12:29:08 +0100 Subject: [PATCH 2/2] Fix link --- docs/howto/django/basic_usage.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/howto/django/basic_usage.md b/docs/howto/django/basic_usage.md index 1b4e2c157..9d78cc500 100644 --- a/docs/howto/django/basic_usage.md +++ b/docs/howto/django/basic_usage.md @@ -3,7 +3,9 @@ ## Defining tasks Add your tasks to `tasks.py` in your Django app. -Inside tasks, you can use the classical ORM API or the async ORM API to access your models. +Inside tasks, you can use the classical ORM API or the [async ORM API] to access your models. + +[async ORM API]: https://docs.djangoproject.com/en/4.2/topics/async/#queries-the-orm ```python from procrastinate.contrib.django import app @@ -60,7 +62,7 @@ async def myasyncview(request): ``` See {doc}`../basics/defer` for more details on how to defer jobs. -[async orm api]: https://docs.djangoproject.com/en/4.2/topics/async/#queries-the-orm + ## Checking proper configuration