django1/tests/staticfiles_tests/urls/default.py

6 lines
150 B
Python

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