index.html 中添加了 load staticfiles, 但是ctrl + 鼠标点击 staticfiles是没有任何关联的code的
<!DOCTYPE html>
{% load staticfiles %}
<html>
js 和css都是按照下面这个样式改的
<script src="{% static 'js/selectUi.js'%}" type='text/javascript'></script>
settings.py里也有staticfiles
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'apps.courses.apps.CoursesConfig',
'apps.users.apps.UsersConfig',
'apps.operation.apps.OperationConfig',
'apps.organizations.apps.OrganizationsConfig',
'crispy_forms',
'xadmin',
'captcha',
]