1from django.conf import settings
2from django.conf.urls.static import static
3
4urlpatterns = [
5 # ... the rest of your URLconf goes here ...
6] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
7
1STATICFILES_DIRS = [
2 os.path.join(BASE_DIR, "static"),
3 '/var/www/static/',
4]
5