Skip to content

Commit 1159586

Browse files
committed
add a few django orm resources
1 parent 813c5f5 commit 1159586

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

content/pages/03-data/08-django-orm.markdown

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,19 @@ that have been added throughout the project's history.
109109
is a very detailed example that shows how to work specifically with
110110
a [PostgreSQL](/postgresql.html) backend.
111111

112+
* [Django Anti-Patterns: Signals](https://lincolnloop.com/blog/django-anti-patterns-signals/)
113+
explains why you should avoid using Django ORM's
114+
[signals](https://docs.djangoproject.com/en/dev/topics/signals/) feature
115+
in your applications if you want to make them easier to maintain.
116+
117+
* [Django ORM optimization story on selecting the least possible](https://www.peterbe.com/plog/django-orm-optimization-story-on-selecting-the-least-possible)
118+
goes through one developer's Django ORM code refactoring to optimize the
119+
performance and results of a single query.
120+
121+
* [Fixing your Django async job - database integration](https://spapas.github.io/2019/02/25/django-fix-async-db/)
122+
is a great article on how to properly integrate the
123+
[RQ task queue](/redis-queue-rq.html) with a Django backend.
124+
112125

113126
### Django migrations resources
114127
[Django migrations](https://docs.djangoproject.com/en/dev/topics/migrations/)
@@ -135,11 +148,6 @@ following resources should get you past the initial hurdles.
135148
shows a simple example with code for how to use the migrations integrated
136149
into Django 1.7.
137150

138-
* [Django Anti-Patterns: Signals](https://lincolnloop.com/blog/django-anti-patterns-signals/)
139-
explains why you should avoid using Django ORM's
140-
[signals](https://docs.djangoproject.com/en/dev/topics/signals/) feature
141-
in your applications if you want to make them easier to maintain.
142-
143151
* [Supporting both Django 1.7 and South](http://treyhunner.com/2014/03/migrating-to-django-1-dot-7/)
144152
explains the difficulty of supporting Django 1.7 and maintaining South
145153
migrations for Django 1.6 then goes into how it can be done.

0 commit comments

Comments
 (0)