Skip to content

Commit

Permalink
Merge pull request #991 from ducdetronquito/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim authored Mar 15, 2024
2 parents 9bf1d50 + d764a5e commit ebe0f02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/howto/django/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
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.

[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 ebe0f02

Please # to comment.