django1/tests/staticfiles_tests/urls/default.py

7 lines
145 B
Python

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