summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtbc/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 444e848..5b43585 100755
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -1212,6 +1212,7 @@ def RedirectToIpynb(request, notebook_path=None):
# ajax views
@csrf_exempt
def ajax_matching_books(request):
+ print "here"
titles = request.POST["titles"]
titles = json.loads(titles)
matches = []
@@ -1229,3 +1230,4 @@ def ajax_matching_books(request):
'matches': matches,
'flag': flag
}
+ return render_to_response('tbc/ajax-matching-books.html', context)