From d339007c928d2aa7858471cbee68aafa786fbf80 Mon Sep 17 00:00:00 2001 From: changeling Date: Mon, 13 May 2019 18:45:31 -0500 Subject: [PATCH] Updated Relay Pagination example (markdown) --- Relay-Pagination-example.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Relay-Pagination-example.md b/Relay-Pagination-example.md index 396bdf0..7b14a02 100644 --- a/Relay-Pagination-example.md +++ b/Relay-Pagination-example.md @@ -1,4 +1,4 @@ -For this example, we're using `DjangoObjectType` and a hypothetical django model for Place. Neither of these is necessary, and it's being included only to present a complete (almost) example. Simply replace the model assignement, and use the appropriate `ObjectType` in place of `DjangoObjectType` in the initial type declaration (`class Place_Node_Type(DjangoObjectType)` herein) for your application, and pagination will be yours! +For this example, we're using `DjangoObjectType` and a hypothetical django model for Place. Neither of these is necessary, and it's being included only to present a complete (almost) example. Simply replace the model assignment, and use the appropriate `ObjectType` in place of `DjangoObjectType` in the initial type declaration (`class Place_Node_Type(DjangoObjectType)` herein) for your application, and pagination will be yours! For this example, we're going to assume a basic understanding of what `startCursor` and `endCursor`, and really, `pagination` as a concept, actually **are**, and just quickly provide you with the basics of pagination-in-graphene's **how**.