Skip to content

Commit 86aa776

Browse files
carltongibsontomchristie
authored andcommitted
Update quote in relations.md (#6373)
Fixes #6372.
1 parent 63e6bbf commit 86aa776

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/api-guide/relations.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ source: relations.py
22

33
# Serializer relations
44

5-
> Bad programmers worry about the code.
6-
> Good programmers worry about data structures and their relationships.
5+
> Data structures, not algorithms, are central to programming.
76
>
8-
> — [Linus Torvalds][cite]
9-
7+
> — [Rob Pike][cite]
108
119
Relational fields are used to represent model relationships. They can be applied to `ForeignKey`, `ManyToManyField` and `OneToOneField` relationships, as well as to reverse relationships, and custom relationships such as `GenericForeignKey`.
1210

@@ -592,7 +590,7 @@ The [drf-nested-routers package][drf-nested-routers] provides routers and relati
592590

593591
The [rest-framework-generic-relations][drf-nested-relations] library provides read/write serialization for generic foreign keys.
594592

595-
[cite]: https://lwn.net/Articles/193245/
593+
[cite]: http://users.ece.utexas.edu/~adnan/pike.html
596594
[reverse-relationships]: https://docs.djangoproject.com/en/stable/topics/db/queries/#following-relationships-backward
597595
[routers]: https://www.django-rest-framework.org/api-guide/routers#defaultrouter
598596
[generic-relations]: https://docs.djangoproject.com/en/stable/ref/contrib/contenttypes/#id1

0 commit comments

Comments
 (0)