Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
urlpatterns += static(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT})
Martin-Blas PErez Pinilla
Programming language:
Whatever
2021-07-22 03:45:35
1
Q:
urlpatterns += static(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT})
Eddie
Code:
Whatever
2021-09-01 18:59:03
python manage.py changepassword <user_name>
0
Tags
path
set
Related
<script src="{{ url_for('static', filename='scripts.js') }}"></script>
urlpatterns = [ path('SignUp/', views.SignupPage, name='user_data')\
set staticroot settings to a filesystem path
Set Static Folder
get static front page
New to Communities?
Join the community