JS static file is not accessible in Django

173 views
Skip to first unread message

anjal...@gmail.com

unread,
Jan 11, 2017, 12:19:18 AM1/11/17
to Django users
Ihave an application for that I am trying to use multifilter js script. I am able to load the file through my application.
Ex: <local host>/static/js/multifilter.js
 if i open this link it will print my js file on html without any issues, But in the application js functionality is not working.

Can anyone suggest me on this.


Thanks in advance,
Anjali

M Hashmi

unread,
Jan 11, 2017, 3:00:32 AM1/11/17
to django...@googlegroups.com
RIght click on the page when local server is running and click inspect elements. Check if there is any error in console section.
If JS is showing file then it means the issue is with the function not with loading file. Send snapshot for further help. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0991e99b-3002-441b-b1f1-0d8051010215%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

anjal...@gmail.com

unread,
Jan 16, 2017, 4:20:53 AM1/16/17
to Django users
Hi Hashmi,

I tried debugger tools which you mentioned. under js of console nothing is showing up it's empty.
Please let me know how we can resolve this.


On Wednesday, January 11, 2017 at 1:30:32 PM UTC+5:30, M Hashmi wrote:
RIght click on the page when local server is running and click inspect elements. Check if there is any error in console section.
If JS is showing file then it means the issue is with the function not with loading file. Send snapshot for further help. 
On Tue, Jan 10, 2017 at 10:19 PM, <anjal...@gmail.com> wrote:
Ihave an application for that I am trying to use multifilter js script. I am able to load the file through my application.
Ex: <local host>/static/js/multifilter.js
 if i open this link it will print my js file on html without any issues, But in the application js functionality is not working.

Can anyone suggest me on this.


Thanks in advance,
Anjali

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages