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
You need to setup Django to serve your media files (otherwise, serve them from a proper HTTP server). Add the following line to your url.py
:
(r'^mymedia/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
Make sure you change the mymedia
part to align with your media directory.