Fix sort order
This commit is contained in:
parent
1fbeac1ffb
commit
220d0b8769
2 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,6 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from aldryn_search.helpers import get_plugin_index_data
|
from aldryn_search.helpers import get_plugin_index_data
|
||||||
from aldryn_search.utils import get_index_base, strip_tags
|
from aldryn_search.utils import get_index_base, strip_tags
|
||||||
|
|
||||||
from haystack import indexes
|
from haystack import indexes
|
||||||
|
|
||||||
from .models import Post
|
from .models import Post
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import absolute_import, print_function, unicode_literals
|
from __future__ import absolute_import, print_function, unicode_literals
|
||||||
|
|
||||||
from djangocms_blog.search_indexes import PostIndex
|
from haystack.constants import DEFAULT_ALIAS
|
||||||
from . import BaseTest
|
from haystack.query import SearchQuerySet
|
||||||
|
|
||||||
from djangocms_blog.models import Post
|
from djangocms_blog.models import Post
|
||||||
|
from djangocms_blog.search_indexes import PostIndex
|
||||||
|
|
||||||
from haystack.query import SearchQuerySet
|
from . import BaseTest
|
||||||
from haystack.constants import DEFAULT_ALIAS
|
|
||||||
|
|
||||||
|
|
||||||
class BlogIndexingTests(BaseTest):
|
class BlogIndexingTests(BaseTest):
|
||||||
|
|
Loading…
Reference in a new issue