summaryrefslogtreecommitdiffstats
path: root/core/views/other.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-05-03 00:52:51 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-05-03 00:52:51 +0100
commit254b465755f7ebfc1650730ac2d51bb33543a85c (patch)
treebbff19795f4dd5a853c86ea74315e2cb39f466c4 /core/views/other.py
parent5a085ba7ba0303732c765d6d0a52e8d560ea9353 (diff)
downloadtroggle-254b465755f7ebfc1650730ac2d51bb33543a85c.tar.gz
troggle-254b465755f7ebfc1650730ac2d51bb33543a85c.tar.bz2
troggle-254b465755f7ebfc1650730ac2d51bb33543a85c.zip
git integration with Save this page
Diffstat (limited to 'core/views/other.py')
-rw-r--r--core/views/other.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/views/other.py b/core/views/other.py
index 3159a33..83d6113 100644
--- a/core/views/other.py
+++ b/core/views/other.py
@@ -195,10 +195,10 @@ def exportlogbook(request,year=None,extension=None):
return render(request,'controlPanel.html', {'expeditions':Expedition.objects.all(),'jobs_completed':[completed]})
-def ajax_test(request):
- post_text = request.POST['post_data']
- return HttpResponse("{'response_text': '"+post_text+" recieved.'}",
- content_type="application/json")
+# def ajax_test(request):
+ # post_text = request.POST['post_data']
+ # return HttpResponse("{'response_text': '"+post_text+" recieved.'}",
+ # content_type="application/json")