File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class HomePage(Page):
1717 ('text' , RichTextBlock ()), #probably will use custom type later
1818 ('image' , ImageChooserBlock ()),
1919 ('header' , HeaderBlock ()),
20- ], use_json_field = True , blank = True )
20+ ], blank = True )
2121
2222 content_panels = Page .content_panels + [
2323 FieldPanel ("intro" , classname = "full" ),
Original file line number Diff line number Diff line change 22from django .template .response import TemplateResponse
33
44from wagtail .models import Page
5- from wagtail .search .models import Query
5+ from wagtail .contrib . search_promotions .models import Query
66
77
88def search (request ):
Original file line number Diff line number Diff line change 2929 "django.contrib.contenttypes" ,
3030 "django.contrib.sessions" ,
3131 "django.contrib.messages" ,
32+ "wagtail.contrib.search_promotions" ,
3233 "django.contrib.staticfiles" ,
3334 "wagtail.contrib.forms" ,
3435 "wagtail.contrib.redirects" ,
You can’t perform that action at this time.
0 commit comments