summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/urls.py
blob: edb5e1f3b0074c60b182c2078821f8a55b75963c (plain)
1
2
3
4
5
6
7
8
9
10
11
import os

from django.conf.urls import url
from django.views.static import serve

here = os.path.dirname(__file__)

urlpatterns = [
    url(r'^custom_templates/(?P<path>.*)$', serve, {
        'document_root': os.path.join(here, 'custom_templates')}),
]