Commit 2962b4d5 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Bugfix with improper importing.

parent 3e73935c
......@@ -6,7 +6,6 @@ from django.conf.urls.static import static
from django.contrib import admin
from django.contrib import auth
from django.conf.urls import patterns, include, url
import haystack
# Uncomment the next two lines to enable the admin:
admin.autodiscover()
......@@ -54,8 +53,8 @@ urlpatterns = patterns('website.views',
url(r'^admin/', include(admin.site.urls)),
#### SEARCHES ####
url(r'^search/', include(haystack.urls)),
# points to a SearchView Instance
url(r'^search/?', include('haystack.urls')),
#### COMMENTS APP ####
(r'^comments/', include('django.contrib.comments.urls')),
......
Markdown is supported
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