mise-en-production
[auf_framonde.git] / project / urls / 60-framonde.py
1 from cms.sitemaps import CMSSitemap
2 #from filebrowser.sites import site
3
4
5 urlpatterns += patterns('',
6 # (r'^admin/filebrowser/', include(site.urls)),
7 (r'^tinymce/', include('tinymce.urls')),
8 (r'^', include('project.framonde.urls')),
9 )
10
11 # Search
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)),
21 )