Commit | Line | Data |
---|---|---|
6837e829 PH |
1 | from cms.sitemaps import CMSSitemap |
2 | #from filebrowser.sites import site | |
3 | ||
4 | ||
2e4710d8 | 5 | urlpatterns += 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 |
12 | from haystack.views import FacetedSearchView |
13 | from haystack.query import SearchQuerySet | |
14 | from haystack.forms import FacetedSearchForm | |
15 | urlpatterns += 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 | ) |