mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2024-11-29 13:03:47 +03:00
Point to the correct example from the Django Styleguide Example
This commit is contained in:
parent
3acce455d6
commit
a9883d4a5a
|
@ -2450,7 +2450,7 @@ We use [Celery](http://www.celeryproject.org/) for the following general cases:
|
||||||
|
|
||||||
We try to treat Celery as if it's just another interface to our core logic - meaning - **don't put business logic there.**
|
We try to treat Celery as if it's just another interface to our core logic - meaning - **don't put business logic there.**
|
||||||
|
|
||||||
Lets look at an example of a **service** that sends emails (example taken from [`Django-Styleguide-Example`](https://github.com/HackSoftware/Django-Styleguide-Example))
|
Lets look at an example of a **service** that sends emails (example taken from [`Django-Styleguide-Example`](https://github.com/HackSoftware/Django-Styleguide-Example/blob/master/styleguide_example/emails/tasks.py))
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user