mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2024-11-25 19:13:45 +03:00
Finishing touches
This commit is contained in:
parent
72110d6c35
commit
57cbdc7ce0
14
README.md
14
README.md
|
@ -35,6 +35,12 @@ Expect often updates as we discuss & decide upon different things.
|
|||
+ [Example services](#example-services)
|
||||
* [Testing services](#testing-services)
|
||||
* [Testing selectors](#testing-selectors)
|
||||
- [Celery](#celery)
|
||||
* [Structure](#structure)
|
||||
+ [Configuration](#configuration)
|
||||
+ [Tasks](#tasks)
|
||||
* [Periodic Tasks](#periodic-tasks)
|
||||
* [Configuration](#configuration-1)
|
||||
- [Inspiration](#inspiration)
|
||||
|
||||
<!-- tocstop -->
|
||||
|
@ -942,7 +948,7 @@ class GetItemsForUserTests(TestCase):
|
|||
|
||||
## Celery
|
||||
|
||||
We use Celery for the following general cases:
|
||||
We use [Celery](http://www.celeryproject.org/) for the following general cases:
|
||||
|
||||
* Communicating with 3rd party services (sending emails, notifications, etc.)
|
||||
* Offloading heavier computational tasks outside the HTTP cycle.
|
||||
|
@ -1104,6 +1110,12 @@ Few key things:
|
|||
* We always put a link to [`crontab.guru`](https://crontab.guru) to explain the cron. Otherwhise it's unreadable.
|
||||
* Everything is in one place.
|
||||
|
||||
### Configuration
|
||||
|
||||
Celery is a complex topic, so it's a good idea to invest time reading the documentation & understanding the different configuration options.
|
||||
|
||||
We constantly do that & find new things or find better approaches to our problems.
|
||||
|
||||
## Inspiration
|
||||
|
||||
The way we do Django is inspired by the following things:
|
||||
|
|
Loading…
Reference in New Issue
Block a user