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

7 lines
180 B
Python

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