How do you access (or include) jquery in a file, which is included? I'm getting a "Uncaught ReferenceError: $ is not defined" when trying to use jquery in the included file...
In my template, that extends base.html, I am able to use jquery but not the file I'm including with {% include 'nav.html' %} in the template. I could just put my <script> in the template (and not in the include) but I want to put it in the include to have good separation... How could you achieve this? -- 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+unsubscr...@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/6cd3b778-f5dc-4afa-b83b-fe79850c2aa4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.