From 66e86dc4830f58a06987dd18027c7350b673eb05 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 1 Mar 2016 18:37:54 +0100 Subject: [PATCH] add rest-framework-generic-relations link to docs --- docs/api-guide/relations.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api-guide/relations.md b/docs/api-guide/relations.md index ba6870bcf..06903158b 100644 --- a/docs/api-guide/relations.md +++ b/docs/api-guide/relations.md @@ -580,9 +580,14 @@ The following third party packages are also available. The [drf-nested-routers package][drf-nested-routers] provides routers and relationship fields for working with nested resources. +## Rest Framework Generic Relations + +The [rest-framework-generic-relations][drf-nested-relations] library provides read/write serialization for generic foreign keys. + [cite]: http://lwn.net/Articles/193245/ [reverse-relationships]: https://docs.djangoproject.com/en/dev/topics/db/queries/#following-relationships-backward [routers]: http://www.django-rest-framework.org/api-guide/routers#defaultrouter [generic-relations]: https://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/#id1 [2.2-announcement]: ../topics/2.2-announcement.md [drf-nested-routers]: https://github.com/alanjds/drf-nested-routers +[drf-nested-relations]: https://github.com/Ian-Foote/rest-framework-generic-relations