Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim committed Mar 15, 2024
1 parent 2d36bca commit d764a5e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/howto/django/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit d764a5e

Please # to comment.