0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Merge pull request #2208 from prydie/patch-1

Fix PageQuerySet code overriding code snippet
This commit is contained in:
Matt Westcott 2016-02-08 13:06:05 +00:00
commit 7b8fbf89da

View File

@ -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)