summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/urls.py
blob: a45dc3e9a6abb56691c7f04da789a29444b603b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
import os
from django.conf.urls import patterns
from django.utils._os import upath

here = os.path.dirname(upath(__file__))

urlpatterns = patterns('',
    (r'^custom_templates/(?P<path>.*)$', 'django.views.static.serve', {
        'document_root': os.path.join(here, 'custom_templates'),
    }),
)