Commit 2702906d authored by fred's avatar fred
Browse files

limit search to emissions, episode & news items

parent 55d8ef33
......@@ -13,12 +13,13 @@ from haystack.query import SearchQuerySet
from emissions.views import FacetedSearchView
from emissions.urls import urlpatterns as emissions_urlpatterns
from emissions.models import Emission, Episode, NewsItem
from newsletter.urls import management_patterns as newsletter_urlpatterns
from urls_utils import decorated_includes
sqs = SearchQuerySet().facet('categories').facet('tags')
sqs = SearchQuerySet().models(Emission, Episode, NewsItem).facet('categories').facet('tags')
urlpatterns = patterns('',
url(r'^$', 'panikdb.views.home', name='home'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment