aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorTom Christie2013-12-13 20:27:17 +0000
committerTom Christie2013-12-13 20:27:17 +0000
commit39dbea4da43f829863d395d5f2ee158837f2afe2 (patch)
treedbe6c5ff45fee3ffcbaf3e19b2cbe9035dfd8ee7 /docs/api-guide
parent193af483efca2aaaebc186301b88f5735c87e638 (diff)
downloaddjango-rest-framework-39dbea4da43f829863d395d5f2ee158837f2afe2.tar.bz2
Links to drf-nested-routers
Diffstat (limited to 'docs/api-guide')
-rw-r--r--docs/api-guide/relations.md11
-rw-r--r--docs/api-guide/routers.md4
2 files changed, 12 insertions, 3 deletions
diff --git a/docs/api-guide/relations.md b/docs/api-guide/relations.md
index 556429bb..1b089c54 100644
--- a/docs/api-guide/relations.md
+++ b/docs/api-guide/relations.md
@@ -442,7 +442,18 @@ In the 2.4 release, these parts of the API will be removed entirely.
For more details see the [2.2 release announcement][2.2-announcement].
+---
+
+# Third Party Packages
+
+The following third party packages are also available.
+
+## DRF Nested Routers
+
+The [drf-nested-routers package][drf-nested-routers] provides routers and relationship fields for working with nested resources.
+
[cite]: http://lwn.net/Articles/193245/
[reverse-relationships]: https://docs.djangoproject.com/en/dev/topics/db/queries/#following-relationships-backward
[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
diff --git a/docs/api-guide/routers.md b/docs/api-guide/routers.md
index 54fae65f..895589db 100644
--- a/docs/api-guide/routers.md
+++ b/docs/api-guide/routers.md
@@ -158,9 +158,6 @@ 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.
-[cite]: http://guides.rubyonrails.org/routing.html
-[drf-nested-routers]: https://github.com/alanjds/drf-nested-routers
-
## wq.db
The [wq.db package][wq.db] provides an advanced [Router][wq.db-router] class (and singleton instance) that extends `DefaultRouter` with a `register_model()` API. Much like Django's `admin.site.register`, the only required argument to `app.router.register_model` is a model class. Reasonable defaults for a url prefix and viewset will be inferred from the model and global configuration.
@@ -171,5 +168,6 @@ The [wq.db package][wq.db] provides an advanced [Router][wq.db-router] class (an
app.router.register_model(MyModel)
[cite]: http://guides.rubyonrails.org/routing.html
+[drf-nested-routers]: https://github.com/alanjds/drf-nested-routers
[wq.db]: http://wq.io/wq.db
[wq.db-router]: http://wq.io/docs/app.py