Tuesday, September 23, 2014

Re: Can not include jquery in django template

Change it to:

<script type="text/javascript" src='{% static "js/jquery.min.js" %}'> </script>

--Fred
Fred Stluka -- mailto:fred@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
On 9/23/14 2:15 PM, Артём Мутерко wrote:
When I try to include jQuery to my template index.html,

<script type="text/javascript" src='{% static "js/jquery.min.js" %}'/>

I get an blank page. Html source code is loading but I get just white page
--
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-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/793a14fb-c435-4737-92b8-dcd277fb9abb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment