Skip to content

Commit

Permalink
Update csrf token access method.
Browse files Browse the repository at this point in the history
The tag form previous used inserts an HTML form field, whereas we just
want the actual token value.
  • Loading branch information
nrb committed Sep 30, 2011
1 parent 85188d7 commit 1da499a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uploadify/templates/uploadify/multi_file_upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'auto' : true,
'folder' : '{{ upload_path }}',
'multi' : true,
'scriptData' : {'csrfmiddlewaretoken': {% csrf_token %}}
'scriptData' : {'csrfmiddlewaretoken': '{{ csrf_token }}'}
'onAllComplete' : allComplete
});
});
Expand Down

0 comments on commit 1da499a

Please sign in to comment.