comparison gpp/urls.py @ 220:71fd8454688b

For #51, added weblinks to search. Decided against using the search index to store prerendered results. My fear is this could get too unweildy once we add forums.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Jun 2010 20:06:15 +0000
parents 26ee684c2033
children 2ba1a6d3b984
comparison
equal deleted inserted replaced
219:26ee684c2033 220:71fd8454688b
47 (r'^smiley/', include('smiley.urls')), 47 (r'^smiley/', include('smiley.urls')),
48 ) 48 )
49 49
50 # Haystack search views 50 # Haystack search views
51 urlpatterns += patterns('haystack.views', 51 urlpatterns += patterns('haystack.views',
52 url(r'^search/$', search_view_factory(view_class=SearchView, load_all=False), 52 url(r'^search/$', search_view_factory(view_class=SearchView, load_all=True),
53 name='haystack_search'), 53 name='haystack_search'),
54 ) 54 )
55 55
56 56
57 if settings.DEBUG: 57 if settings.DEBUG: