首先,我们配置静态文件,要在setting.py里面加入如下几行代码: settings.py # the settings above # STATIC SETTINGS STATIC_URL = '/static/' # the dir for command "python manage.py collectstatic" # BA...