Load jQuery into Django

前端 未结 5 870
后悔当初
后悔当初 2021-01-14 05:56

I have a really basic question. I\'m trying to build some AJAX functionality into a Django project. I plan to use jQuery. Right now, I\'m just running the code locally th

5条回答
  •  感情败类
    2021-01-14 06:21

    Can you try the following:

    1. Access the URL http://localhost:8000/books/media/js/jquery-1.4.2.min.js using your browser or curl and see what turns up.

    2. Check your URL configuration to see that you have an URL defined for serving media using static serve.

提交回复
热议问题