settings.JSLIB_URL == /JAVASCRIPT/
http://localhost:8000/pathsreport to check
JSLIB_ROOT /mnt/c/EXPO/troggle/media/jslib
JSLIB_URL /javascript/
links to JS files are in the ../templates/*.html files
but _also_, and peculiarly, in the troggle/admin.py files (which are dead links)
i.e.
class TroggleModelAdmin(admin.ModelAdmin):
def save_model(self, request, obj, form, change):
"""overriding admin save to fill the new_since parsing_field"""
obj.new_since_parsing=True
obj.save()
class Media:
js = ('jquery/jquery.min.js','js/QM_helper.js')
NB any *Admin class is used in the Django control panel only.
The jquery links have been REMOVED from the templates as they were not used anywhere.
templates/editentrance.html:
{% extends "cavebase.html" %}
{% block title %}Edit Entrance{% endblock %}
{% block extraheaders %}
{% endblock %}
{% block content %}
etc
{% endblock %}