2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 12:07:09 +00:00

git integration with Save this page

This commit is contained in:
Philip Sargent
2021-05-03 00:52:51 +01:00
parent 5a085ba7ba
commit 254b465755
3 changed files with 18 additions and 9 deletions

View File

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