Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
set staticroot settings to a filesystem path
anselmolsm
Programming language:
Whatever
2021-08-01 10:20:33
0
Q:
set staticroot settings to a filesystem path
Tristan
Code:
Whatever
2021-09-17 10:56:03
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
0
Tags
path
file
files
set
Related
how to use setx path
enginee.openReportDesign birt set path of file
pathlib path of current file
Set Static Folder
urlpatterns += static(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT})
pathlib path get directory of current file
how to use location.pathname
New to Communities?
Join the community