浏览代码

Update import of Query model to search_promotions

Matt Westcott 1 年之前
父节点
当前提交
92c9ce2202
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bakerydemo/search/views.py

+ 1 - 1
bakerydemo/search/views.py

@@ -1,8 +1,8 @@
 from django.conf import settings
 from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator
 from django.shortcuts import render
+from wagtail.contrib.search_promotions.models import Query
 from wagtail.models import Page
-from wagtail.search.models import Query
 
 from bakerydemo.blog.models import BlogPage
 from bakerydemo.breads.models import BreadPage