Getting SyntaxError Error: Unexpected Token & lt; django-jquery-fileupload

advertisements

I am trying to integrate django-jquery-fileupload

https://github.com/sigurdga/django-jquery-file-upload

But I get "Error SyntaxError: Unexpected token < "when i click on "start" upload button.

I don't get what is creating the error.

Here is my code: http://pastebin.com/nhZHnEaV


Try using a Chrome Debugger or one of its ilk and check what happened when your scripts were loaded. That sometimes happens when a template gets rendered and sent in place of some resource and is interpreted as js.