django1/tests/regressiontests/staticfiles_tests/urls/default.py

6 lines
159 B
Python

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