kopia lustrzana https://github.com/wagtail/wagtail
Fix PageQuerySet code overriding code snippet
rodzic
f7b7f2b164
commit
e2601c30b8
|
@ -474,4 +474,4 @@ Alternately, if you only need to add extra ``QuerySet`` methods, you can inherit
|
||||||
class EventPage(Page):
|
class EventPage(Page):
|
||||||
start_date = models.DateField()
|
start_date = models.DateField()
|
||||||
|
|
||||||
objects = PageManager.from_queryset(EventQuerySet)
|
objects = PageManager.from_queryset(EventPageQuerySet)
|
||||||
|
|
Ładowanie…
Reference in New Issue