I am trying to use a static file in Django. I have set it us a below, but it doesn't find the file. This is on localhost.
In urls:
url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
In settings:
STATIC_ROOT = "C:/path/to/static/"
STATIC_URL = '/static/'
INSTALLED_APPS = (....'django.contrib.staticfiles', ...)
Copy-pasting the static root into explorer does go to the folder with the json2_min.js file
HTML:
<script src="/static/json2_min.js"></script>