[web2py] GET http://127.0.0.1:8000/favicon.ico 400 (BAD REQUEST) - using angular.js and nvd3

2015-10-05 Thread Heather Dawe
Hello I am getting a bad request when attempting to use angular.js with nvd3 for data visualisation. My web2py controller passes a json to its view. This view code is shown below. It extends the layout.html which is the standard layout.html apart from I have added the javascript libraries

Re: [web2py] GET http://127.0.0.1:8000/favicon.ico 400 (BAD REQUEST) - using angular.js and nvd3

2015-10-05 Thread Michele Comitini
The favicon.ico is generated by the browser by looking at a link tag in html, it does not depend on your code posted here. In the browser look in the full source of the html generated by web2py to find where favicon.ico is called. Hint: look in views/layout.html see:

Re: [web2py] GET http://127.0.0.1:8000/favicon.ico 400 (BAD REQUEST) - using angular.js and nvd3

2015-10-05 Thread Heather Dawe
Hi Michele, Many thanks for your reply. I am sorry if I did not make it clear in my first post that I have looked at layout.html in detail regarding this issue. While all of the other views in my app also extend layout.html, the only page (and therefore view) I am having this problem is the one