Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Michel Rouly
bookshare
Commits
33fb7468
Commit
33fb7468
authored
Jan 27, 2015
by
Daniel W Bond
Browse files
more search nixing
parent
6df9a060
Changes
1
Hide whitespace changes
Inline
Side-by-side
bookshare/settings/urls.py
View file @
33fb7468
...
...
@@ -3,10 +3,6 @@ from django.views.generic import TemplateView
from
django.contrib
import
admin
# FIX SEARCH #
#from core.forms import StyledSearchForm
from
haystack.views
import
SearchView
# Uncomment the next two lines to enable the admin:
admin
.
autodiscover
()
...
...
@@ -26,26 +22,11 @@ urlpatterns = patterns('',
url
(
r
'^privacy/?$'
,
TemplateView
.
as_view
(
template_name
=
'privacy.html'
),
name
=
'privacy'
),
url
(
r
'^privacy/opt-out/?$'
,
'core.views.privacy_opt_out'
,
name
=
'privacy_opt_out'
),
#### LISTING PAGES ####
# book listing page
url
(
r
'^listings/(?P<book_id>\d+)$'
,
'trades.views.view_listing'
,
name
=
'view_listing'
),
#### SEARCH PAGES ####
# points to a SearchView Instance
#url(r'^search/', include('haystack.urls')),
#url(
# r'^search/?',
# SearchView(
# form_class = StyledSearchForm,
# results_per_page = 20,
# ),
# name = 'haystack_search',
#),
### user authentication ###
url
(
r
'^login/$'
,
'cas.views.login'
,
name
=
'login'
),
url
(
r
'^logout/$'
,
'cas.views.logout'
,
name
=
'logout'
),
####
ADMIN PAGES
####
####
admin pages
####
url
(
r
'^admin/doc/'
,
include
(
'django.contrib.admindocs.urls'
)),
url
(
r
'^admin/'
,
include
(
admin
.
site
.
urls
)),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment