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 through Linux. I've been testing some code here so I'm reasonably certain that it works. But I'm having trouble figuring where to put the jQuery source code in combination with my settings.
I downloaded jQuery and put it in what I think is my Media folder. My settings.py file reads as follows:
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'books/media/')
MEDIA_URL = 'http://localhost:8000/books/media/'
In my html template, I'm referencing:
<script type="text/javascript" src="/media/js/jquery-1.4.2.min.js">
But none of my functions are working. I'm sure it's something stupid and obvious (though clearly not obvious to me). How do I correctly source jQuery?