Skip to content

Instantly share code, notes, and snippets.

@sweemeng
Created February 2, 2010 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sweemeng/292628 to your computer and use it in GitHub Desktop.
Save sweemeng/292628 to your computer and use it in GitHub Desktop.
from django.conf.urls.defaults import *
from views import *
from haystack.views import SearchView
from haystack.forms import SearchForm
from forms import FilterSearchForm
urlpatterns = patterns('',
(r'^$',SearchView(form_class=FilterSearchForm,
load_all=False)),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment