mise-en-production
[auf_framonde.git] / project / urls / 60-framonde.py
CommitLineData
6837e829
PH
1from cms.sitemaps import CMSSitemap
2#from filebrowser.sites import site
3
4
2e4710d8 5urlpatterns += patterns('',
6837e829 6# (r'^admin/filebrowser/', include(site.urls)),
2e4710d8 7 (r'^tinymce/', include('tinymce.urls')),
6837e829
PH
8 (r'^', include('project.framonde.urls')),
9)
10
11# Search
2e4710d8
PH
12from haystack.views import FacetedSearchView
13from haystack.query import SearchQuerySet
14from haystack.forms import FacetedSearchForm
15urlpatterns += patterns('',
16# (r'^recherche/', include('haystack.urls')),
17 (r'^recherche/', FacetedSearchView(
18 searchqueryset=SearchQuerySet()\
19 .facet('region').facet('section').facet('annee_limite'),
20 form_class=FacetedSearchForm)),
6837e829 21)