django1/tests/staticfiles_tests/urls/default.py

7 lines
147 B
Python

from django.contrib.staticfiles import views
from django.urls import re_path
urlpatterns = [
re_path('^static/(?P<path>.*)$', views.serve),
]