From 716aa8ff66fa0c97586b0882887441626ba2da92 Mon Sep 17 00:00:00 2001 From: Adam Charnock Date: Thu, 31 Dec 2015 03:18:37 +0000 Subject: [PATCH] Adding links to the cookbook example app (links should work upon merge) --- docs/pages/docs/filtering.md | 11 +++++++---- docs/pages/docs/quickstart-django.md | 3 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/pages/docs/filtering.md b/docs/pages/docs/filtering.md index 5ef57ea5..95521dd2 100644 --- a/docs/pages/docs/filtering.md +++ b/docs/pages/docs/filtering.md @@ -10,16 +10,19 @@ to provide filtering of results. See the [usage documentation](https://django-filter.readthedocs.org/en/latest/usage.html#the-filter) for details on the format for `filter_fields`. -**Note 1:** This filtering is only available when using the Django integrations -(i.e. nodes which extend `DjangoNode`) - -**Note 2:** `django-filter` is an optional dependency of Graphene. You will need to +This filtering is only available when using the Django integrations +(i.e. nodes which extend `DjangoNode`). Additionally `django-filter` +is an optional dependency of Graphene. You will need to install it manually, which can be done as follows: ```bash +# You'll need to django-filter pip install django-filter ``` +**Note: The techniques below are demoed in the +[cookbook example app](https://github.com/graphql-python/graphene/tree/feature/django/examples/cookbook).** + ## Filterable fields The `filter_fields` parameter is used to specify the fields which can be filtered upon. diff --git a/docs/pages/docs/quickstart-django.md b/docs/pages/docs/quickstart-django.md index 2e378aff..310ec95d 100644 --- a/docs/pages/docs/quickstart-django.md +++ b/docs/pages/docs/quickstart-django.md @@ -13,6 +13,9 @@ Django's getting started page. First let's create a few simple models... +**Note: The code in this quickstart is pulled from the +[cookbook example app](https://github.com/graphql-python/graphene/tree/feature/django/examples/cookbook)**. + ## Defining our models Before continuing, create the following: