From e2601c30b85f12c9390edb79e774f18b36558cd4 Mon Sep 17 00:00:00 2001 From: Andrew Pryde Date: Mon, 8 Feb 2016 16:03:11 +0300 Subject: [PATCH] Fix PageQuerySet code overriding code snippet --- docs/topics/pages.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/pages.rst b/docs/topics/pages.rst index b6ce9d40c9..bb1d6e8f8b 100644 --- a/docs/topics/pages.rst +++ b/docs/topics/pages.rst @@ -474,4 +474,4 @@ Alternately, if you only need to add extra ``QuerySet`` methods, you can inherit class EventPage(Page): start_date = models.DateField() - objects = PageManager.from_queryset(EventQuerySet) + objects = PageManager.from_queryset(EventPageQuerySet)