@csfr_exampt for json file list

This commit is contained in:
Karen 2011-06-30 20:02:55 +05:30
parent 4136a0d11e
commit 4c6db1c3a7
2 changed files with 2 additions and 32 deletions

View File

@ -231,7 +231,7 @@ def deleteFile(request):
}
return render_to_json_response(response)
@csrf_exempt
def fileList(request):
category = request.POST.get("category", '')
typ = request.POST.get("fileType", '')

View File

@ -70,37 +70,7 @@ $(function() {
</script>
<style type="text/css">
#addFilesWrapper {
display: none;
}
.uploading {
background-color: blue;
}
.uploaded {
background-color: green;
}
#progressbar {
display: none;
background-color: #80ADB0;
}
#progress {
background-color: #005740;
}
#uploadStudy {
font-weight: bold;
}
#uploadingTo {
margin-bottom: 12px;
}
</style>
<link rel="stylesheet" href="/static/css/files/upload.css" />
{% endblock %}