You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to use {% dajaxice_js_import %} to import JS files as in the directory ./dajaxice/templates/dajaxice/. The template tag is able to render the respective html element but not able to load the file!
This issue is raised many times on google-groups too
Django unable to find those static files
The possible fix:
rename the directory templates to static. So, the directory where these files will now be ./dajaxice/static/dajaxice/
Now when people run manage.py collectstatic they will pretty able to load all these static files into their project and thus the urls work
The text was updated successfully, but these errors were encountered:
I have tried to use
{% dajaxice_js_import %}
to import JS files as in the directory./dajaxice/templates/dajaxice/
. The template tag is able to render the respective html element but not able to load the file!This issue is raised many times on google-groups too
Django unable to find those static files
The possible fix:
rename the directory
templates
tostatic
. So, the directory where these files will now be./dajaxice/static/dajaxice/
Now when people run
manage.py collectstatic
they will pretty able to load all these static files into their project and thus the urls workThe text was updated successfully, but these errors were encountered: