comment out search_related for now to try and deal with weird admin issue

This commit is contained in:
Sanj 2011-08-29 06:47:12 +05:30
parent cc03ca0e85
commit 3808453878
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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')),