settings.py
import os STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), ]
create link to static file
base.html
{% load static %}
python manage.py collectstatic