1👍
Have you check if as the rest of the assets, dajaxice.core.js
is inside your static/dajaxice
folder? If not, the issue could be related with a miss configuration of the STATICFILES_FINDERS
, check Installing dajaxice again
Another usual issue with collectstatic and dajaxice is to run the first using --link
Are you using this option?
Hope this helps
1👍
I spend several hours grappling with this problem. It was crazy because everything worked great on my dev environment, but not on the test server even though all the dajax and dajaxice settings were on a common base settings file. I never got it to work using the standard route. But this is a very easy fix:
1) Download dajaxice.core.js into whatever static directory pleases you. You can find the js in your the dajaxice directory in your project root:
project/dajaxice/dajaxice.core.js
In my case, I put the file in static/js alongside all my other js libraries.
2) On your web page, replace this:
{% dajaxice_js_import %}
with a normal, everyday link to the js library. In my case:
<script src="/static/js/dajaxice.core.js" type="text/javascript"></script>
Unfortunately, this patch only works for developed code. If you usedo it in the development environment, new dajaxice code will be registered in the original project/dajaxice/ location and so the file will have to be copied to static after any new code is developed.
- [Answered ]-TemplateDoesNotExist django
- [Answered ]-Error 500 and other website's content
- [Answered ]-Minimal developer setup of sorl-thumbnail with Django 1.7
- [Answered ]-Django update view and passing context
- [Answered ]-Parsing fixed width files with special characters inside the file?