mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2024-11-29 04:53:46 +03:00
fix: Django-Styleguide-Example reference links
This commit is contained in:
parent
a96c84e962
commit
4f0206a568
|
@ -97,7 +97,7 @@ This is the Django Styleguide, created by us, the folks at [HackSoft](https://ha
|
||||||
1. It's pragmatic. All things mentioned here are things tested in production.
|
1. It's pragmatic. All things mentioned here are things tested in production.
|
||||||
1. It's opinionated. This is how we build applications with Django.
|
1. It's opinionated. This is how we build applications with Django.
|
||||||
1. It's not the only way. There are other ways of building & structuring Django projects that can do the job for you.
|
1. It's not the only way. There are other ways of building & structuring Django projects that can do the job for you.
|
||||||
1. We have a [`Django-Styleguide-Example`](https://github.com/HackSoftware/Styleguide-Example) to show most of the styleguide in an actual project.
|
1. We have a [`Django-Styleguide-Example`](https://github.com/HackSoftware/Django-Styleguide-Example) to show most of the styleguide in an actual project.
|
||||||
|
|
||||||
**You can watch Radoslav Georgiev's [Django structure for scale and longevity](https://www.youtube.com/watch?v=yG3ZdxBb1oo) for the philosophy behind the styleguide:**
|
**You can watch Radoslav Georgiev's [Django structure for scale and longevity](https://www.youtube.com/watch?v=yG3ZdxBb1oo) for the philosophy behind the styleguide:**
|
||||||
|
|
||||||
|
@ -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))
|
Lets look at an example of a **service** that sends emails (example taken from [`Django-Styleguide-Example`](https://github.com/HackSoftware/Django-Styleguide-Example))
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user