comment out search_related for now to try and deal with weird admin issue
This commit is contained in:
parent
cc03ca0e85
commit
3808453878
|
@ -25,10 +25,12 @@ def search_json(request):
|
|||
}
|
||||
return render_to_json_response(d)
|
||||
|
||||
|
||||
def search_related(request):
|
||||
d = RequestContext(request, {})
|
||||
return render_to_response("search_related.html")
|
||||
|
||||
|
||||
def search_related_json(request):
|
||||
d = {}
|
||||
return render_to_json_response(d)
|
||||
|
|
|
@ -11,8 +11,8 @@ urlpatterns = patterns('',
|
|||
# (r'^gazetteer/', include('gazetteer.foo.urls')),
|
||||
('^search$', 'places.views.search'),
|
||||
('^search_json$', 'places.views.search_json'),
|
||||
('^search_related$', 'places.views.search_related'),
|
||||
('^search_related_json$', 'places.views.search_related.json'),
|
||||
# ('^search_related$', 'places.views.search_related'),
|
||||
# ('^search_related_json$', 'places.views.search_related.json'),
|
||||
# Uncomment the admin/doc line below to enable admin documentation:
|
||||
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user