recherche: première ébauche
[auf_framonde.git] / project / aldryn_search / conf.py
1 # -*- coding: utf-8 -*-
2 from django.conf import settings
3
4 from appconf import AppConf
5
6
7 class AldrynSearchAppConf(AppConf):
8
9 CMS_PAGE = True
10 DEFAULT_LANGUAGE = settings.LANGUAGE_CODE
11 INDEX_BASE_CLASS = 'aldryn_search.base.AldrynIndexBase'
12 LANGUAGE_FROM_ALIAS = 'aldryn_search.utils.language_from_alias'
13 PAGINATION = 10
14 REGISTER_APPHOOK = True
15
16 class Meta:
17 prefix = 'ALDRYN_SEARCH'