From 38084538787237070ab5df868abb42b597a3acec Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 29 Aug 2011 06:47:12 +0530 Subject: [PATCH] comment out search_related for now to try and deal with weird admin issue --- gazetteer/places/views.py | 2 ++ gazetteer/urls.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gazetteer/places/views.py b/gazetteer/places/views.py index c39f495..d9bc9fa 100644 --- a/gazetteer/places/views.py +++ b/gazetteer/places/views.py @@ -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) diff --git a/gazetteer/urls.py b/gazetteer/urls.py index e7b8f26..c769dbb 100644 --- a/gazetteer/urls.py +++ b/gazetteer/urls.py @@ -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')),